specify a tag for non-trunk CI builds
This commit is contained in:
31
.github/workflows/ant.yml
vendored
31
.github/workflows/ant.yml
vendored
@ -31,15 +31,15 @@ jobs:
|
|||||||
- name: build with Gradle
|
- name: build with Gradle
|
||||||
run: |
|
run: |
|
||||||
echo "i2psrc=$HOME/i2p.i2p" > routerjars/local.properties
|
echo "i2psrc=$HOME/i2p.i2p" > routerjars/local.properties
|
||||||
git clone https://github.com/i2p/i2p.i2p "$HOME/i2p.i2p"
|
git clone -b i2p-2.3.0 https://github.com/i2p/i2p.i2p "$HOME/i2p.i2p"
|
||||||
./gradlew assembleDebug
|
./gradlew assembleDebug
|
||||||
find . -name '*.apk'
|
find . -name '*.apk'
|
||||||
|
- name: Upload i2p-debug-${{ github.sha }}.apk
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: i2p-debug.apk
|
||||||
|
path: ./app/build/outputs/apk/free/debug/app-free-debug.apk
|
||||||
|
|
||||||
#- name: Upload installer.jar
|
|
||||||
# uses: actions/upload-artifact@v4
|
|
||||||
# with:
|
|
||||||
# name: I2P-install.jar-${{ github.sha }}
|
|
||||||
# path: install.jar
|
|
||||||
trunk:
|
trunk:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@ -57,18 +57,19 @@ jobs:
|
|||||||
rm -f override.properties
|
rm -f override.properties
|
||||||
echo "build.built-by=GitHub Actions" >> override.properties
|
echo "build.built-by=GitHub Actions" >> override.properties
|
||||||
echo "noExe=true" >> override.properties
|
echo "noExe=true" >> override.properties
|
||||||
echo "I2P_VERSION=2.4.0-1" >> override.properties
|
grep -v I2P_ gradle.properties > gradle.properties.update
|
||||||
echo "I2P_ANDROID_VERSION=2.4.0-1" >> override.properties
|
echo "I2P_VERSION=2.4.0-1" >> gradle.properties.update
|
||||||
|
echo "I2P_ANDROID_VERSION=2.4.0-1" >> gradle.properties.update
|
||||||
|
cp -v gradle.properties.update gradle.properties
|
||||||
- name: build with Gradle
|
- name: build with Gradle
|
||||||
run: |
|
run: |
|
||||||
echo "i2psrc=$HOME/i2p.i2p" > routerjars/local.properties
|
echo "i2psrc=$HOME/i2p.i2p" > routerjars/local.properties
|
||||||
git clone https://github.com/i2p/i2p.i2p "$HOME/i2p.i2p"
|
git clone -b master https://github.com/i2p/i2p.i2p "$HOME/i2p.i2p"
|
||||||
cd i2p.i2p && ./installer/resources/maven-dev-release.sh 1
|
cd i2p.i2p && ./installer/resources/maven-dev-release.sh 1
|
||||||
./gradlew assembleDebug
|
./gradlew assembleDebug
|
||||||
find . -name '*.apk'
|
find . -name '*.apk'
|
||||||
|
- name: Upload i2p-debug-${{ github.sha }}.apk
|
||||||
#- name: Upload installer.jar
|
uses: actions/upload-artifact@v4
|
||||||
# uses: actions/upload-artifact@v4
|
with:
|
||||||
# with:
|
name: i2p-debug-${{ github.sha }}.apk
|
||||||
# name: I2P-install.jar-${{ github.sha }}
|
path: ./app/build/outputs/apk/free/debug/app-free-debug.apk
|
||||||
# path: install.jar
|
|
||||||
|
Reference in New Issue
Block a user