mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 01:45:55 +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
|
||||
command: ./scripts/build.sh
|
||||
- store_artifacts:
|
||||
path: build/app/outputs/apk/release/app-release.apk
|
||||
destination: gitjournal.apk
|
||||
path: build/app/outputs/bundle/release/app.aab
|
||||
destination: gitjournal.aab
|
||||
- run:
|
||||
name: Upload Crashlytics Symbols
|
||||
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"
|
||||
|
||||
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"
|
||||
curl "$URL" -o "$APK_LOCATION"
|
||||
|
Reference in New Issue
Block a user