From 68aadca9111a8816af2eca404dbbec047e5d3a83 Mon Sep 17 00:00:00 2001 From: oqba26 Date: Sun, 2 Aug 2026 16:33:40 +0330 Subject: [PATCH] Fix: use environment variable for keystore to prevent corruption --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3dbb98..72be2ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,9 @@ jobs: run: chmod +x gradlew - name: Create Keystore - run: echo "${{ secrets.RELEASE_KEYSTORE_BASE64 }}" | tr -d '\n ' | base64 --decode > app/release-key.jks + env: + KEYSTORE_B64: ${{ secrets.RELEASE_KEYSTORE_BASE64 }} + run: echo "$KEYSTORE_B64" | base64 -d > app/release-key.jks - name: Build Release APK env: