diff --git a/.github/actions/prepare-keystore/action.yml b/.github/actions/prepare-keystore/action.yml index b6290f01..2cb08309 100644 --- a/.github/actions/prepare-keystore/action.yml +++ b/.github/actions/prepare-keystore/action.yml @@ -19,15 +19,12 @@ runs: using: composite steps: - name: Write Keystore file 🗄️ - id: android_keystore - uses: timheuer/base64-to-file@v1.0.3 - with: - fileName: key.jks - encodedString: ${{ inputs.keyStoreBase64 }} + shell: bash + run: echo "${{ inputs.keyStoreBase64 }}" | base64 -d > /home/runner/key.jks - name: Write Keystore properties 🗝️ run: | - echo "storeFile=${{ steps.android_keystore.outputs.filePath }}" > key.properties + echo "storeFile=/home/runner/key.jks" > key.properties echo "storePassword=${{ inputs.signingStorePassword }}" >> key.properties echo "keyPassword=${{ inputs.signingKeyPassword }}" >> key.properties echo "keyAlias=${{ inputs.signingKeyAlias }}" >> key.properties diff --git a/.github/workflows/release-app-github.yaml b/.github/workflows/release-app-github.yaml index 14b9c920..c5479f1b 100644 --- a/.github/workflows/release-app-github.yaml +++ b/.github/workflows/release-app-github.yaml @@ -32,9 +32,6 @@ jobs: - name: Build APKs 📱 run: ./gradlew assembleRelease - - name: Build AABs 📱 - run: ./gradlew bundleRelease - - name: Upload APKs 🚀 uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') @@ -43,6 +40,9 @@ jobs: with: files: app/build/outputs/apk/release/*.apk + - name: Build AABs 📱 + run: ./gradlew bundleRelease + - name: Upload APKs bundles 🚀 uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/')