Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuf007R authored Mar 11, 2024
1 parent 3b3f0ae commit a6f1af6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
- name: generate files from secret
run: |
echo '{"SENTRY_DSN":"$SENTRY_DSN","DANBOORU_URL":"$DANBOORU_URL","STAGE":"$STAGE"}' >> env.json
jq -n --arg SENTRY_DSN "$SENTRY_DSN" --arg DANBOORU_URL "$DANBOORU_URL" --arg STAGE "$STAGE" '{"SENTRY_DSN":$SENTRY_DSN,"DANBOORU_URL":$DANBOORU_URL,"STAGE":$STAGE}' > env.json
cd android
echo "$PLAY_STORE_UPLOAD_KEY" | base64 --decode > app/keystore.jks
echo "storeFile=keystore.jks" >> key.properties
Expand All @@ -33,8 +33,7 @@ jobs:
flutter-version: "3.19.3"
cache: true
- run: flutter pub get
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
- run: flutter build appbundle --dart-define-from-file=env.json
- name: Convert aab to apk
id: convert_aab
uses: mukeshsolanki/[email protected]
Expand Down

0 comments on commit a6f1af6

Please sign in to comment.