Work on getting portable and nsis builds to work
This commit is contained in:
29
.github/workflows/ant.yml
vendored
29
.github/workflows/ant.yml
vendored
@@ -11,6 +11,8 @@ jobs:
|
||||
- uses: Vampire/setup-wsl@v3
|
||||
with:
|
||||
distribution: Ubuntu-20.04
|
||||
- run: |
|
||||
apt-get install nsis nsis-common nsis-pluginapi wget dos2unix curl jq gpg
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
@@ -61,7 +63,15 @@ jobs:
|
||||
|
||||
buildzip:
|
||||
runs-on: windows-latest
|
||||
defaults:
|
||||
run:
|
||||
shell: wsl-bash {0}
|
||||
steps:
|
||||
- uses: Vampire/setup-wsl@v3
|
||||
with:
|
||||
distribution: Ubuntu-20.04
|
||||
- run: |
|
||||
apt-get install nsis nsis-common nsis-pluginapi wget dos2unix curl jq gpg
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
@@ -76,5 +86,24 @@ jobs:
|
||||
name: I2P-windows-portable-${{ github.sha }}.zip
|
||||
path: I2P-windows-portable.zip
|
||||
|
||||
buildtgz:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: build with script
|
||||
run: bash -c "./buildscripts/targz.sh; ls *.tar.gz *.tgz"
|
||||
- name: Upload I2P-${{ github.sha }}.tar.gz
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: I2P-${{ github.sha }}.tar.gz
|
||||
path: I2P.tar.gz
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user