Skip to content

Commit

Permalink
chore: work on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-virkus committed Dec 27, 2023
1 parent 9ed84c0 commit 9ea0950
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,19 @@ jobs:
name: Build Android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Decode Keystore and Create key.properties
env:
BASE64_STORE: ${{ secrets.PLAY_UPLOAD_KEYSTORE }}
PROPERTIES_PATH: ${{ github.workspace }}/android/key.properties
STORE_PATH: ${{ github.workspace }}/android/keystore.jks
run: |
ls -la ${{github.workspace}}
echo keyPassword=\${{secrets.PLAY_UPLOAD_KEY_PASSWORD}} > ${{env.PROPERTIES_PATH}}
echo storePassword=\${{secrets.PLAY_UPLOAD_STORE_PASSWORD}} >> ${{env.PROPERTIES_PATH}}
echo keyAlias=\${{secrets.PLAY_KEY_ALIAS}} >> ${{env.PROPERTIES_PATH}}
echo storeFile=\${{env.STORE_PATH}} >> ${{env.PROPERTIES_PATH}}
echo "${{env.BASE64_STORE}}" | base64 --decode > ${{env.STORE_PATH}}
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
Expand Down

0 comments on commit 9ea0950

Please sign in to comment.