Skip to content

Commit

Permalink
ci: improve release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
deandreamatias committed Feb 18, 2024
1 parent 6a1306e commit 0478fe8
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ jobs:
- name: Get repository
uses: actions/checkout@v4
- name: Configure enviroment
run:
echo $ENV_PROD_BASE64 | base64 --decode > .env/prod.json |
env:
ENV_PROD_BASE64: ${{ secrets.ENV_PROD_BASE64 }}
ENV_DEV_BASE64: ${{ secrets.ENV_DEV_BASE64 }}
run: |
echo $ENV_PROD_BASE64 | base64 --decode > .env/prod.json
echo $ENV_DEV_BASE64 | base64 --decode > .env/dev.json
- name: Get Flutter version
Expand All @@ -35,9 +38,14 @@ jobs:
run: sh tool/setup.sh

- name: Get Android keystore secrets
run:
echo $PLAY_STORE_UPLOAD_KEY | base64 -d > android/key.jks |
env:
PLAY_STORE_UPLOAD_KEY: ${{ secrets.PLAY_STORE_UPLOAD_KEY }}
PLAY_STORE_UPLOAD_KEY_PROPERTIES: ${{ secrets.PLAY_STORE_UPLOAD_KEY_PROPERTIES }}
run: |
echo $PLAY_STORE_UPLOAD_KEY | base64 -d > android/key.jks
echo $PLAY_STORE_UPLOAD_KEY_PROPERTIES | base64 -d > android/key.properties
- name: Build Android prod
run: fastlane build_prod
run: |
cd android
fastlane build_prod

0 comments on commit 0478fe8

Please sign in to comment.