Skip to content

Commit

Permalink
fix: Decode signing key directly into file
Browse files Browse the repository at this point in the history
This commit simplifies the decoding of the signing key by directly writing the decoded output to the keystore file, rather than using a temporary file.
It also adds the absolute path of the release store file to the environment for use in subsequent steps.
  • Loading branch information
BobbyESP committed Nov 29, 2024
1 parent 172c088 commit 75a59eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
ENCODED_STRING: ${{ secrets.SIGNING_KEY_STORE_BASE64 }}
SIGNING_KEY_STORE_PATH: ${{ secrets.SIGNING_KEY_STORE_PATH }}
run: |
echo $ENCODED_STRING > keystore-b64.txt
base64 -d keystore-b64.txt > "$SIGNING_KEY_STORE_PATH"
base64 -d <<< $ENCODED_STRING > "$SIGNING_KEY_STORE_PATH"
echo "RELEASE_STORE_FILE=$(realpath $SIGNING_KEY_STORE_PATH)" >> $GITHUB_ENV
- name: Build with Gradle
env:
Expand Down

0 comments on commit 75a59eb

Please sign in to comment.