mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-08-07 01:32:49 +00:00
Android: Fix artifact upload path
This commit is contained in:
parent
9de98930d2
commit
3afb289370
1 changed files with 7 additions and 1 deletions
|
@ -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/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 ./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
|
- 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:
|
artifacts:
|
||||||
untracked: false
|
untracked: false
|
||||||
when: on_success
|
when: on_success
|
||||||
access: all
|
access: all
|
||||||
expire_in: "30 days"
|
expire_in: "30 days"
|
||||||
paths:
|
paths:
|
||||||
- /artifacts/$ANDROID_VERSION_CODE/*
|
- receivers/android/$ANDROID_VERSION_CODE/fcast-release.apk
|
||||||
|
- receivers/android/$ANDROID_VERSION_CODE/fcast-playstore-release.aab
|
||||||
when: manual
|
when: manual
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue