Skip to content

Commit

Permalink
attempt a trunk build too
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Mar 25, 2024
1 parent 707dcbb commit df26d89
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion .github/workflows/ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: GetText
run: sudo apt install gettext git
- uses: actions/checkout@v4
- name: Set up JDK 8
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
Expand All @@ -40,3 +40,35 @@ jobs:
# with:
# name: I2P-install.jar-${{ github.sha }}
# path: install.jar
trunk:
runs-on: ubuntu-latest

steps:
- name: GetText
run: sudo apt install gettext git
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
- name : Generate override.properties
run: |
rm -f override.properties
echo "build.built-by=GitHub Actions" >> override.properties
echo "noExe=true" >> override.properties
echo "I2P_VERSION=2.4.0-1" >> override.properties
echo "I2P_ANDROID_VERSION=2.4.0-1" >> override.properties
- name: build with Gradle
run: |
echo "i2psrc=$HOME/i2p.i2p" > routerjars/local.properties
git clone https://github.com/i2p/i2p.i2p "$HOME/i2p.i2p"
cd i2p.i2p && ./installer/resources/maven-dev-release.sh 1
./gradlew assembleDebug
find . -name '*.apk'
#- name: Upload installer.jar
# uses: actions/upload-artifact@v4
# with:
# name: I2P-install.jar-${{ github.sha }}
# path: install.jar

0 comments on commit df26d89

Please sign in to comment.