From 8f25245ad1efe774c42048ed898b86e133e6cd32 Mon Sep 17 00:00:00 2001 From: Imran Remtulla <30463115+ImranR98@users.noreply.github.com> Date: Fri, 6 Oct 2023 21:47:25 -0400 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ead8289..216740c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,10 +22,10 @@ jobs: env: KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }} KEYSTORE_PASS: ${{ secrets.KEYSTORE_PASS }} - GPG_KEY: ${{ secrets.GPG_KEY }} + GPG_KEY: ${{ secrets.PGP_KEY_BASE64 }} run: | echo "${KEYSTORE_BASE64}" | base64 -d > apksign.keystore - echo "$GPG_KEY" | gpg --import + echo "$GPG_KEY" | base64 -d | gpg --import for apk in ./build/app/outputs/flutter-apk/*-release*.apk; do unsignedFn=${apk/-release/-unsigned} mv "$apk" "$unsignedFn"