From 915bdd0ce13576ada86aa4bfb197197642ce2e20 Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 26 Feb 2023 13:14:17 +0900 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c42ba4..198751a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,10 +40,17 @@ jobs: echo "ANDROID_KEY_ALIAS=$ANDROID_KEY_ALIAS" >> android/key.properties echo "ANDROID_KEY_PASSWORD=$ANDROID_KEY_PASSWORD" >> android/key.properties + - name: Create production.json + id: create-json + uses: jsdaniell/create-json@v1.2.2 + with: + name: "production.json" + json: ${{ secrets.PRODUCTIONJSON }} + - name: Release Build tasks (apk and aab) run: | - flutter build apk --release --dart-define-from-file=dart_define/production.json - flutter build appbundle --release --dart-define-from-file=dart_define/production.json + flutter build apk --release --dart-define-from-file=production.json + flutter build appbundle --release --dart-define-from-file=production.json # https://github.com/softprops/action-gh-release#%EF%B8%8F-uploading-release-assets - name: Release