chore: Fix CI variables

This commit is contained in:
Christian Pauly 2020-11-21 13:21:55 +01:00
parent a87f5bbcb2
commit d3822b0bb0

View File

@ -67,6 +67,10 @@ build_android_debug:
build_android_apk: build_android_apk:
stage: coverage stage: coverage
script: [./scripts/build-android-apk.sh] script: [./scripts/build-android-apk.sh]
variables:
FDROID_KEY: ${FDROID_KEY}
FDROID_KEY_PASS: ${FDROID_KEY_PASS}
GOOGLE_SERVICES: ${GOOGLE_SERVICES}
artifacts: artifacts:
when: on_success when: on_success
paths: paths:
@ -78,6 +82,10 @@ build_android_apk:
build_android_appbundle: build_android_appbundle:
stage: coverage stage: coverage
script: [./scripts/build-android-appbundle.sh] script: [./scripts/build-android-appbundle.sh]
variables:
FDROID_KEY: ${FDROID_KEY}
FDROID_KEY_PASS: ${FDROID_KEY_PASS}
GOOGLE_SERVICES: ${GOOGLE_SERVICES}
artifacts: artifacts:
when: on_success when: on_success
paths: paths:
@ -141,6 +149,8 @@ build_linux:
snap:edge: snap:edge:
stage: publish stage: publish
image: "cibuilds/snapcraft:core18" image: "cibuilds/snapcraft:core18"
variables:
SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
only: only:
- main - main
script: [./scripts/publish-snap-edge.sh] script: [./scripts/publish-snap-edge.sh]
@ -153,6 +163,8 @@ snap:edge:
snap:publish: snap:publish:
stage: publish stage: publish
image: "cibuilds/snapcraft:core18" image: "cibuilds/snapcraft:core18"
variables:
SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
only: only:
- tags - tags
script: [./scripts/publish-snap-stable.sh] script: [./scripts/publish-snap-stable.sh]