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 28, 2023
1 parent c3e3c87 commit 877cfea
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,16 @@ jobs:
- 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
KEY_PASSWORD: ${{secrets.PLAY_UPLOAD_KEY_PASSWORD}}
run: |
echo keyPassword=\${{env.KEY_PASSWORD}} > ${{env.PROPERTIES_PATH}}
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}}
echo "${{ secrets.PLAY_UPLOAD_KEYSTORE }}" | base64 --decode > ${{env.STORE_PATH}}
echo "storePath: $STORE_PATH"
ls -la ${{env.STORE_PATH}}
echo "propertiesPath: $PROPERTIES_PATH / ${{env.PROPERTIES_PATH}}}"
cat ${{env.PROPERTIES_PATH}}
echo "Size of PW: ${#KEY_PASSWORD} ${#${{secrets.PLAY_UPLOAD_KEY_PASSWORD}}}"
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
Expand Down

0 comments on commit 877cfea

Please sign in to comment.