Skip to content

Commit

Permalink
fix secret env
Browse files Browse the repository at this point in the history
  • Loading branch information
2shrestha22 committed Jul 17, 2024
1 parent d55f869 commit e5849b8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Clone Repository
uses: actions/checkout@v4
@@ -26,9 +26,12 @@ jobs:
run: flutter pub get

- name: Setup KeyStore
env:
KEYSTORE_FILE_BASE64: ${{ secrets.KEYSTORE_FILE_BASE64 }}
KEY_PROPERTIES_BASE64: ${{ secrets.KEY_PROPERTIES_BASE64 }}
run: |
echo $KEYSTORE_FILE_BASE64 | base64 --decode > ./android/keystore.jks
echo $KEY_PROPERTIES_BASE64 | base64 --decode > ./android/key.properties
echo "$KEYSTORE_FILE_BASE64" | base64 --decode > ./android/keystore.jks
echo "$KEY_PROPERTIES_BASE64" | base64 --decode > ./android/key.properties
- name: Build App Bundle
run: flutter build appbundle --build-number ${{ github.run_number }}

0 comments on commit e5849b8

Please sign in to comment.