Skip to content

Commit

Permalink
build: fix github workflow
Browse files Browse the repository at this point in the history
hopefully
  • Loading branch information
MSOB7YY committed Jul 2, 2024
1 parent a5badc2 commit a428253
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,16 @@ jobs:
echo ::set-output name=version::"$VERSION"
- name: Create keystore
id: create_keystore
uses: timheuer/base64-to-file@v1
uses: kitek/[email protected]
with:
fileName: "keystore_"
encodedString: ${{ secrets.ANDROID_SIGNING_KEYSTORE }}
encoded-value: ${{ secrets.ANDROID_SIGNING_KEYSTORE }}
destination-file: android/app/keystore.jks

- name: Create key properties
id: create_key_properties
uses: timheuer/base64-to-file@v1
uses: kitek/[email protected]
with:
fileName: "key.properties_"
encodedString: ${{ secrets.ANDROID_SIGNING_KEY_PROPERTIES }}

- run: cp "${{ steps.create_keystore.outputs.filePath }}" android/app/keystore.jks
- run: cp "${{ steps.create_key_properties.outputs.filePath }}" android/key.properties
encoded-value: ${{ secrets.ANDROID_SIGNING_KEY_PROPERTIES }}
destination-file: android/key.properties

- name: Build APK -> arm64-v8a
run: flutter build apk --target-platform android-arm64 --release
Expand Down

0 comments on commit a428253

Please sign in to comment.