mirror of
https://gitlab.shinice.net/pixeldroid/PixelDroid
synced 2024-12-25 22:43:30 +01:00
Test java version change
This commit is contained in:
parent
a103954beb
commit
af5f8b7384
@ -117,15 +117,18 @@ fdroid build:
|
||||
paths:
|
||||
- signed/
|
||||
when: always
|
||||
only:
|
||||
- tags
|
||||
#only:
|
||||
# - tags
|
||||
cache:
|
||||
key: "$CI_JOB_NAME"
|
||||
paths:
|
||||
- .android
|
||||
- .gradle
|
||||
script:
|
||||
# Put the correct versionName and versionCode in the .fdroid.yml
|
||||
- apt-get update
|
||||
- apt-get install -y openjdk-17-jdk-headless
|
||||
- update-alternatives --auto java
|
||||
# Put the correct versionName and versionCode in the .fdroid.yml
|
||||
- sed -e "s/\${versionName}/$(./gradlew -q printVersionName)/" -e "s/\${versionCode}/$(./gradlew -q printVersionCode)/" .fdroid.yml.template > .fdroid.yml
|
||||
- rm .fdroid.yml.template
|
||||
# each `fdroid build --on-server` run expects sudo, then uninstalls it
|
||||
|
Loading…
Reference in New Issue
Block a user