Skip to content

Commit

Permalink
Github action keystore decode environment check & fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sreejithbnaick committed Feb 19, 2024
1 parent 7763ba6 commit 2023dfc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ jobs:
- run: base64 -d -i keystore.txt > upload-keystore.jks
- run: shasum upload-keystore.jks
- run: mv upload-keystore.jks android/upload-keystore.jks
- run: echo "storePassword=${{ secrets.STORE_PASSWORD }}" >> key.properties
- run: echo "keyPassword=${{ secrets.KEY_PASSWORD }}" >> key.properties
- run: echo "keyAlias=${{ secrets.KEY_ALIAS }}" >> key.properties
- run: echo "storeFile=../upload-keystore.jks" >> key.properties
- run: echo ${{ secrets.PROPERTIES }} > properties.txt
- run: shasum properties.txt
- run: base64 -d -i properties.txt > key.properties
- run: shasum key.properties
- run: mv key.properties android/key.properties
- run: flutter build apk --release --split-per-abi
Expand Down

0 comments on commit 2023dfc

Please sign in to comment.