1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-08-06 09:12:50 +00:00

Android: Fix artifact upload path

This commit is contained in:
Michael Hollister 2025-07-10 17:44:59 -05:00
parent 9de98930d2
commit 3afb289370

View file

@ -33,11 +33,17 @@ buildAndroid:
- cp -rf ./app/build/outputs/apk/defaultFlavor/release/app-defaultFlavor-release.apk /artifacts/$ANDROID_VERSION_CODE/fcast-release.apk
- cp -rf ./app/build/outputs/bundle/playstoreRelease/app-playstore-release.aab /artifacts/$ANDROID_VERSION_CODE/fcast-playstore-release.aab
- cp -rf ./fcast-version.txt /artifacts/fcast-version.txt
# Artifact uploads require artifacts to be in project directory
- mkdir -p ./$ANDROID_VERSION_CODE
- mv ./app/build/outputs/apk/defaultFlavor/release/app-defaultFlavor-release.apk ./$ANDROID_VERSION_CODE/fcast-release.apk
- mv ./app/build/outputs/bundle/playstoreRelease/app-playstore-release.aab ./$ANDROID_VERSION_CODE/fcast-playstore-release.aab
artifacts:
untracked: false
when: on_success
access: all
expire_in: "30 days"
paths:
- /artifacts/$ANDROID_VERSION_CODE/*
- receivers/android/$ANDROID_VERSION_CODE/fcast-release.apk
- receivers/android/$ANDROID_VERSION_CODE/fcast-playstore-release.aab
when: manual