Skip to content

Commit

Permalink
fix: reference secret in env
Browse files Browse the repository at this point in the history
  • Loading branch information
kolaente authored Jul 21, 2024
1 parent 2a1fd4d commit be353e9
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/flutter-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,28 @@ jobs:
run: gpg --version

- name: Decrypting Keystore file
env:
GPG_PASS: ${{ secrets.GPG_PASS }}
run: |
cd android/app
keyFile=key.jks
gpg -d --passphrase "${{ secrets.GPG_PASS }}" --batch $keyFile.asc > $keyFile
gpg -d --passphrase "$GPG_PASS" --batch $keyFile.asc > $keyFile
- name: Decrypting key.properties file
env:
GPG_PASS: ${{ secrets.GPG_PASS }}
run: |
cd ../
keyPropFile=key.properties
gpg -d --passphrase "${{ secrets.GPG_PASS }}" --batch $keyPropFile.asc > $keyPropFile
gpg -d --passphrase "$GPG_PASS" --batch $keyPropFile.asc > $keyPropFile
- name: Decrypting Fastlane Secret file
env:
GPG_PASS: ${{ secrets.GPG_PASS }}
run: |
pwd
cd android
file=fastlane-secret.json
gpg -d --passphrase "${{ secrets.GPG_PASS }}" --batch $file.asc > $file
gpg -d --passphrase "$GPG_PASS" --batch $file.asc > $file
- name: Testing Fastlane installation
run: |
Expand Down Expand Up @@ -86,4 +92,4 @@ jobs:
# run: |
# pwd
# cd android
# bundle exec fastlane production_appbundle
# bundle exec fastlane production_appbundle

0 comments on commit be353e9

Please sign in to comment.