Skip to content

Commit

Permalink
create signing android app files
Browse files Browse the repository at this point in the history
  • Loading branch information
xcarol committed Feb 23, 2024
1 parent 89699e2 commit d176685
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,31 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Write secrets.properties
- name: Create secrets.properties
shell: bash
env:
MAPS_API_KEY: ${{ secrets.MAPS_API_KEY }}
run: |
echo "MAPS_API_KEY=$MAPS_API_KEY" >> android/secrets.properties
echo "MAPS_API_KEY=$MAPS_API_KEY" > android/secrets.properties
- name: Create upload keystore
shell: bash
env:
KEY_STORE: ${{ secrets.KEY_STORE }}
run: |
echo "$KEY_STORE" | base64 -d > android/upload-keystore.jks
- name: Create key.properties
shell: bash
env:
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
run: |
echo "storePassword=$STORE_PASSWORD" > android/key.properties
echo "keyPassword==$KEY_PASSWORD" >> android/key.properties
echo "keyAlias=upload" >> android/key.properties
echo "storeFile=upload-keystore.jks" >> android/key.properties
- name: Set up Flutter
uses: subosito/flutter-action@v2

Expand Down

0 comments on commit d176685

Please sign in to comment.