mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
CI: Store the AAB as an artifact
Instead of the apk which is no longer generated
This commit is contained in:
@ -27,8 +27,8 @@ jobs:
|
|||||||
name: Build
|
name: Build
|
||||||
command: ./scripts/build.sh
|
command: ./scripts/build.sh
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: build/app/outputs/apk/release/app-release.apk
|
path: build/app/outputs/bundle/release/app.aab
|
||||||
destination: gitjournal.apk
|
destination: gitjournal.aab
|
||||||
- run:
|
- run:
|
||||||
name: Upload Crashlytics Symbols
|
name: Upload Crashlytics Symbols
|
||||||
command: ./scripts/android_crashlytics.sh
|
command: ./scripts/android_crashlytics.sh
|
||||||
|
@ -6,7 +6,7 @@ BUILD_NUM=`curl -s 'https://circleci.com/api/v1.1/project/github/GitJournal/GitJ
|
|||||||
echo "CircleCI Buld Number: $BUILD_NUM"
|
echo "CircleCI Buld Number: $BUILD_NUM"
|
||||||
|
|
||||||
URL=`curl -s https://circleci.com/api/v1.1/project/github/GitJournal/GitJournal/$BUILD_NUM/artifacts | jq .[0] | jq -r .url`
|
URL=`curl -s https://circleci.com/api/v1.1/project/github/GitJournal/GitJournal/$BUILD_NUM/artifacts | jq .[0] | jq -r .url`
|
||||||
APK_LOCATION="/tmp/gitjournal.apk"
|
APK_LOCATION="/tmp/gitjournal.aab"
|
||||||
|
|
||||||
echo "Downloading $URL"
|
echo "Downloading $URL"
|
||||||
curl "$URL" -o "$APK_LOCATION"
|
curl "$URL" -o "$APK_LOCATION"
|
||||||
|
Reference in New Issue
Block a user