From 1463e62c2a4c2238283d9fdb926ceb36fcc0a75d Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Tue, 16 Jul 2024 14:58:51 -0400 Subject: [PATCH] Continuously build jdk22 builds --- .github/workflows/ant-latest.yml | 118 +++++++++++++++++++++++++++++++ src/nsis/i2pbrowser-version.nsi | 2 +- 2 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ant-latest.yml diff --git a/.github/workflows/ant-latest.yml b/.github/workflows/ant-latest.yml new file mode 100644 index 0000000..91dd46b --- /dev/null +++ b/.github/workflows/ant-latest.yml @@ -0,0 +1,118 @@ + +name: Java CI + +on: [push] + +jobs: + + nsis-jdk22: + runs-on: windows-latest + steps: + - uses: Vampire/setup-wsl@v3 + with: + distribution: Ubuntu-20.04 + - name: Set git to use LF + run: | + git config --global core.autocrlf false + git config --global core.eol lf + git config --global user.email "github@i2p.net" + git config --global user.name "eyedeekay Github CI Build" + - uses: actions/checkout@v4 + - run: wsl apt-get update + - run: wsl apt-get install -y nsis nsis-common nsis-pluginapi wget dos2unix curl jq gpg gettext + - name: Set up JDK 22 + uses: actions/setup-java@v4 + with: + java-version: '22' + distribution: 'temurin' + - name: build with script + run: bash -c "./buildscripts/unsigned.sh; ls *.exe" + - name: Upload I2P-Easy-Install-Bundle-unsigned.exe + uses: actions/upload-artifact@v4 + with: + name: I2P-Easy-Install-Bundle-unsigned-jdk22.exe + path: I2P-Easy-Install-Bundle-*.exe + + buildjpackagexe-jdk22: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 22 + uses: actions/setup-java@v4 + with: + java-version: '22' + distribution: 'temurin' + - name: build with script + run: bash -c "./buildscripts/exe.sh; ls *.exe" + - name: Upload I2P-Easy-Install-Bundle-unsigned.exe + uses: actions/upload-artifact@v4 + with: + name: I2P-EXE-unsigned-jdk22.exe + path: I2P-EXE-*.exe + + buildjpackagmsi-jdk22: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 22 + uses: actions/setup-java@v4 + with: + java-version: '22' + distribution: 'temurin' + - name: build with script + run: bash -c "./buildscripts/msi.sh; ls *.msi" + - name: Upload I2P-Easy-Install-Bundle-unsigned.msi + uses: actions/upload-artifact@v4 + with: + name: I2P-MSI-unsigned-jdk22.msi + path: I2P-MSI-*.msi + + buildzip-jdk22: + runs-on: windows-latest + steps: + - uses: Vampire/setup-wsl@v3 + with: + distribution: Ubuntu-20.04 + - name: Set git to use LF + run: | + git config --global core.autocrlf false + git config --global core.eol lf + git config --global user.email "github@i2p.net" + git config --global user.name "eyedeekay Github CI Build" + - uses: actions/checkout@v4 + - run: wsl apt-get update + - run: wsl apt-cache search 7zip + - run: wsl apt-get install -y nsis nsis-common nsis-pluginapi wget dos2unix curl jq gpg gettext zip p7zip-full ca-certificates + - run: choco install wget + - name: Set up JDK 22 + uses: actions/setup-java@v4 + with: + java-version: '22' + distribution: 'temurin' + - name: build with script + run: bash -c "./buildscripts/zip.sh; ls -d * */* " + - name: Upload I2P-windows-portable.zip + uses: actions/upload-artifact@v4 + with: + name: I2P-windows-portable-jdk22.zip + path: I2P-windows-portable.zip + + buildtgz-jdk22: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 22 + uses: actions/setup-java@v4 + with: + java-version: '22' + distribution: 'temurin' + - run: | + sudo apt-get update + sudo apt-get install -y nsis nsis-common nsis-pluginapi wget dos2unix curl jq gpg gettext + - name: build with script + run: ./buildscripts/targz.sh; ls *.tar.gz + - name: Upload I2P.tar.gz + uses: actions/upload-artifact@v4 + with: + name: I2P-jdk22.tar.gz + path: I2P.tar.gz diff --git a/src/nsis/i2pbrowser-version.nsi b/src/nsis/i2pbrowser-version.nsi index 18a9a26..005e142 100644 --- a/src/nsis/i2pbrowser-version.nsi +++ b/src/nsis/i2pbrowser-version.nsi @@ -1,3 +1,3 @@ !define VERSIONMAJOR 2 !define VERSIONMINOR 5 -!define VERSIONBUILD 2 +!define VERSIONBUILD 8