Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Fmar committed Aug 23, 2023
1 parent a7ce89f commit 6d0c1a6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,29 @@ jobs:
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:' # optional, change this to specify the cache path
architecture: x64 # optional, x64 or arm64

- name: Create the Keystore
env:
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
run: |
# import keystore from secrets
echo $KEYSTORE_BASE64 | base64 -d > $RUNNER_TEMP/upload-keystore.jks
- name: Create the key_properites
- name: 🔐 Retrieve base64 keystore and decode it to a file
run: echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > "${{ github.workspace }}/android-keystore.jks"

- name: 📝🔐 Create key.properties file
env:
KEYSTORE_BASE64: ${{ secrets.KEY_PROPERTIES }}
KEYSTORE_PROPERTIES_PATH: ${{ github.workspace }}/android/key.properties
run: |
# import keystore from secrets
echo $KEY_PROPERTIES | base64 -d > $RUNNER_TEMP/key.properties
echo 'storeFile=${{ github.workspace }}/android-keystore.jks' > $KEYSTORE_PROPERTIES_PATH
echo 'keyAlias=${{ secrets.KEYSTORE_KEY_ALIAS }}' >> $KEYSTORE_PROPERTIES_PATH
echo 'storePassword=${{ secrets.KEYSTORE_PASSWORD }}' >> $KEYSTORE_PROPERTIES_PATH
echo 'keyPassword=${{ secrets.KEYSTORE_KEY_PASSWORD }}' >> $KEYSTORE_PROPERTIES_PATH
- name: flutter pub get
run: flutter pub get
# - run: flutter test

- name: flutter build apk
run: flutter build apk

- name: flutter build appbundle
run: flutter build appbundle


# build_linux:
# build_linux:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
Expand Down

0 comments on commit 6d0c1a6

Please sign in to comment.