diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8dafa6..3e3fc25 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: run: flutter pub run build_runner build --delete-conflicting-outputs - name: Create release.keystore - run: echo "${{ secrets.ANDROID_STORE_BASE64 }}" | base64 -d > release.keystore + run: echo "${{ secrets.ANDROID_STORE_BASE64 }}" | base64 -d > android/release.keystore - name: Create local.properties env: @@ -36,9 +36,10 @@ jobs: ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }} ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD }} run: | - echo "flutter.androidStorePassword=$ANDROID_STORE_PASSWORD" >> local.properties - echo "flutter.androidKeyAlias=$ANDROID_KEY_ALIAS" >> local.properties - echo "flutter.androidKeyPassword=$ANDROID_KEY_PASSWORD" >> local.properties + echo "flutter.androidStorePassword=$ANDROID_STORE_PASSWORD" >> android/local.properties + echo "flutter.androidKeyAlias=$ANDROID_KEY_ALIAS" >> android/local.properties + echo "flutter.androidKeyPassword=$ANDROID_KEY_PASSWORD" >> android/local.properties + - name: Release Build tasks (apk and aab) run: | flutter build apk --release --dart-define-from-file=dart_define/production.json