Skip to content

Commit

Permalink
Add jpackage archives and prebuilt jpackage to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Aug 26, 2024
1 parent e3e9d71 commit 1ea7ccb
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 8 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ant-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ jobs:
distribution: 'temurin'
- name: build with script
run: bash -c "./buildscripts/unsigned.sh; ls *.exe"
- name: Upload archived copy of I2P router source embedded in the build
uses: actions/upload-artifact@v4
with:
name: i2p.i2p.jpackage-build.tar.gz
path: i2p.i2p.jpackage-build.tar.gz
- name: Upload prebuilt jpackage bundle without any plugins or modded config
uses: actions/upload-artifact@v4
with:
name: I2P-Prebuilt.zip
path: I2P-Prebuilt.zip
- name: Upload I2P-Easy-Install-Bundle-unsigned.exe
uses: actions/upload-artifact@v4
with:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ jobs:
distribution: 'temurin'
- name: build with script
run: bash -c "./buildscripts/unsigned.sh; ls *.exe"
- name: Upload archived copy of I2P router source embedded in the build
uses: actions/upload-artifact@v4
with:
name: i2p.i2p.jpackage-build.tar.gz
path: i2p.i2p.jpackage-build.tar.gz
- name: Upload prebuilt jpackage bundle without any plugins or modded config
uses: actions/upload-artifact@v4
with:
name: I2P-Prebuilt.zip
path: I2P-Prebuilt.zip
- name: Upload I2P-Easy-Install-Bundle-unsigned.exe
uses: actions/upload-artifact@v4
with:
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ Doing a Release

Once you have the installer `.exe` file produced by NSIS, you're almost ready to
do a release. As a final step, someone must sign the `.exe` file using a
Certificate which Windows will recognize. The current signer of the Windows
bundle is Zlatinb. Standard Windows signing tools are used.
Certificate which Windows will recognize. Standard Windows signing tools are used.

```sh
./release.sh
Expand Down
3 changes: 2 additions & 1 deletion buildscripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,5 @@ cp "$SCRIPT_DIR/../i2p.i2p.jpackage-build/LICENSE.txt" license/I2P.txt

mkdir -p "$SCRIPT_DIR"/build/I2P
cp -rv "$SCRIPT_DIR"/I2P/* "$SCRIPT_DIR"/build/I2P
cp -rv src/I2P/config build/I2P/config
cp -rv src/I2P/config build/I2P/config
zip -r I2P-Prebuilt.zip build/I2P/
10 changes: 5 additions & 5 deletions buildscripts/release-download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ echo github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "I2P-Easy
github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "I2P-Easy-Install-Bundle-$I2P_VERSION.exe" -t "i2p-firefox-$I2P_VERSION"

echo github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "I2P.zip" -t "$I2P_VERSION"
github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "I2P.zip" -t "$I2P_VERSION"
github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "I2P.zip" -t "i2p-firefox-$I2P_VERSION"

echo github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "i2p.i2p.jpackage-build.tar.gz" -t "$I2P_VERSION"
github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "i2p.i2p.jpackage-build.tar.gz" -t "$I2P_VERSION"
echo github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "i2p.i2p.jpackage-build.tar.gz" -t "i2p-firefox-$I2P_VERSION"
github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "i2p.i2p.jpackage-build.tar.gz" -t "i2p-firefox-$I2P_VERSION"

echo github-release download -u "$GITHUB_USERNAME" -r i2p -t "$I2P_VERSION" -n "./I2P-jpackage-windows-$I2P_VERSION.zip"
github-release download -u "$GITHUB_USERNAME" -r i2p -t "$I2P_VERSION" -n "./I2P-jpackage-windows-$I2P_VERSION.zip"
echo github-release download -u "$GITHUB_USERNAME" -r i2p -t "i2p-firefox-$I2P_VERSION" -n "./I2P-jpackage-windows-$I2P_VERSION.zip"
github-release download -u "$GITHUB_USERNAME" -r i2p -t "i2p-firefox-$I2P_VERSION" -n "./I2P-jpackage-windows-$I2P_VERSION.zip"

0 comments on commit 1ea7ccb

Please sign in to comment.