Compare commits
2 Commits
master
...
i2p-mac-2.
Author | SHA1 | Date | |
---|---|---|---|
2de622c06c | |||
82fa9f9b4d |
45
.github/workflows/ant.yml
vendored
45
.github/workflows/ant.yml
vendored
@ -5,7 +5,7 @@ on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
runs-on: macos-13
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -25,7 +25,7 @@ jobs:
|
||||
path: I2P-*.dmg
|
||||
|
||||
build-22:
|
||||
runs-on: macos-latest
|
||||
runs-on: macos-13
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -44,4 +44,45 @@ jobs:
|
||||
name: I2P-${{ github.sha }}-22.dmg
|
||||
path: I2P-*.dmg
|
||||
|
||||
build-m1:
|
||||
runs-on: macos-14
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: build with script
|
||||
run: ./build.sh
|
||||
- name: Upload I2P-${{ github.sha }}.dmg
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: I2P-${{ github.sha }}-m1.dmg
|
||||
path: I2P-*.dmg
|
||||
|
||||
build-22-m1:
|
||||
runs-on: macos-14
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up JDK 22
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '22'
|
||||
distribution: 'temurin'
|
||||
- name: build with script
|
||||
run: ./build.sh
|
||||
- name: Upload I2P-${{ github.sha }}.dmg
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: I2P-${{ github.sha }}-m1-jdk22.dmg
|
||||
path: I2P-*.dmg
|
||||
|
||||
|
||||
|
||||
|
4
build.sh
4
build.sh
@ -176,5 +176,5 @@ jpackage --name I2P --app-version "$PUBLISH_VERSION" \
|
||||
--mac-entitlements resources/entitlements.xml \
|
||||
--input build --main-jar launcher.jar --main-class net.i2p.router.MacLauncher
|
||||
|
||||
ls -lah I2P*.dmg
|
||||
ls -lahd I2P*
|
||||
UNAME=$(uname -m)
|
||||
cp -v I2P*.dmg "I2P-$PUBLISH_VERSION-$UNAME.dmg"
|
||||
|
Reference in New Issue
Block a user