Switch pipeline to java 17

This commit is contained in:
Bazsalanszky 2024-08-29 14:20:42 +02:00
parent 32c75ff87c
commit 55bbef25c6
2 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
steps: steps:
build: build:
image: alvrme/alpine-android:android-34-jdk11 image: alvrme/alpine-android:android-34-jdk17
commands: commands:
- apk add --no-cache python3 - apk add --no-cache python3
- ./gradlew :app:assembleRelease - ./gradlew :app:assembleRelease
when: when:
path: [ app/**, build.gradle ] path: [ app/**, build.gradle ]
sign: sign:
image: alvrme/alpine-android:android-34-jdk11 image: alvrme/alpine-android:android-34-jdk17
commands: commands:
- ./scripts/apk-sign.sh Eternity-signed.apk app/build/outputs/apk/release/app-release-unsigned.apk - ./scripts/apk-sign.sh Eternity-signed.apk app/build/outputs/apk/release/app-release-unsigned.apk
secrets: [ APK_KS_PASS, APK_KS, APK_KS_ALIAS ] secrets: [ APK_KS_PASS, APK_KS, APK_KS_ALIAS ]

View File

@ -6,12 +6,12 @@ clone:
steps: steps:
build: build:
image: alvrme/alpine-android:android-34-jdk11 image: alvrme/alpine-android:android-34-jdk17
commands: commands:
- apk add --no-cache python3 - apk add --no-cache python3
- ./gradlew :app:assembleNightly - ./gradlew :app:assembleNightly
sign: sign:
image: alvrme/alpine-android:android-34-jdk11 image: alvrme/alpine-android:android-34-jdk17
commands: commands:
- ./scripts/apk-sign.sh eu.toldi.infinityforlemmy.nightly.apk app/build/outputs/apk/nightly/eu.toldi.infinityforlemmy.nightly.apk - ./scripts/apk-sign.sh eu.toldi.infinityforlemmy.nightly.apk app/build/outputs/apk/nightly/eu.toldi.infinityforlemmy.nightly.apk
secrets: [ APK_KS_PASS, APK_KS, APK_KS_ALIAS ] secrets: [ APK_KS_PASS, APK_KS, APK_KS_ALIAS ]