Skip to content

Commit

Permalink
Change how Base64 KS is decoded
Browse files Browse the repository at this point in the history
  • Loading branch information
captainepoch committed May 18, 2024
1 parent ad9d236 commit 099b950
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci_beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ jobs:
run: |
TMP_KS_FILE_PATH="${RUNNER_TEMP}"/keystore
mkdir "${TMP_KS_FILE_PATH}"
echo $ENCODED_STRING | base64 -di > "${TMP_KS_FILE_PATH}"/husky_beta_ks.jks
echo $ENCODED_STRING > keystore-b64.txt
base64 -d keystore-b64.txt > "$TMP_KS_FILE_PATH/husky_beta_ks.jks"
#echo $ENCODED_STRING | base64 -di > "${TMP_KS_FILE_PATH}"/husky_beta_ks.jks
- name: Prepare Signing env
run: |
Expand All @@ -62,9 +64,9 @@ jobs:
SIGNING_KEY_PASSWORD: ${{ secrets.HUSKY_BETA_KS_ALIAS_PW }}
SIGNING_STORE_PASSWORD: ${{ secrets.HUSKY_BETA_KS_PW }}
run: |
TMP_KS_FILE_PATH="${RUNNER_TEMP}"/keystore
SIGNING_KEY_STORE_PATH="${RUNNER_TEMP}"/keystore/husky_beta_ks.jsk
cd husky/app/build/outputs/apk/huskyBeta/debug/
apksigner sign --ks "${TMP_KS_FILE_PATH}"/husky_beta_ks.jks \
apksigner sign --ks "$SIGNING_KEY_STORE_PATH" \
--ks-key-alias $SIGNING_KEY_ALIAS \
--ks-pass $SIGNING_STORE_PASSWORD \
--key-pass $SIGNING_KEY_PASSWORD \
Expand Down

0 comments on commit 099b950

Please sign in to comment.