diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 34316c5..9c42ba4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,15 +30,16 @@ jobs: - name: Create release.keystore run: echo "${{ secrets.ANDROID_STORE_BASE64 }}" | base64 -d > android/release.keystore - - name: Create local.properties + - name: Create key.properties env: ANDROID_STORE_PASSWORD: ${{ secrets.ANDROID_STORE_PASSWORD }} ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }} ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD }} run: | - echo "ANDROID_STORE_PASSWORD=$ANDROID_STORE_PASSWORD" >> android/local.properties - echo "ANDROID_KEY_ALIAS=$ANDROID_KEY_ALIAS" >> android/local.properties - echo "ANDROID_KEY_PASSWORD=$ANDROID_KEY_PASSWORD" >> android/local.properties + echo "ANDROID_STORE_PASSWORD=$ANDROID_STORE_PASSWORD" >> android/key.properties + echo "ANDROID_KEY_ALIAS=$ANDROID_KEY_ALIAS" >> android/key.properties + echo "ANDROID_KEY_PASSWORD=$ANDROID_KEY_PASSWORD" >> android/key.properties + - name: Release Build tasks (apk and aab) run: | flutter build apk --release --dart-define-from-file=dart_define/production.json