Skip to content

Commit 82a6d7e

Browse files
Fix base64 decoding in GitHub Actions workflow
Updated base64 decoding commands to use the '-i' option for input.
1 parent dfc70fa commit 82a6d7e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/github-actions.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,10 @@ jobs:
2626
env:
2727
ENCODED_STRING: ${{ secrets.KEYSTORE_KEY_BASE64 }}
2828
SIGNING_KEY_STORE_PATH: ${{ secrets.KEYSTORE_KEY_PATH }}
29-
TEST_STRING: ${{ secrets.TEST_SECRET }}
3029

3130
run: |
32-
echo $TEST_STRING
3331
echo $ENCODED_STRING > keystore-b64.txt
34-
base64 -d keystore-b64.txt > $SIGNING_KEY_STORE_PATH
32+
base64 -i -d keystore-b64.txt > $SIGNING_KEY_STORE_PATH
3533
3634
- name: Decode Properties
3735
env:
@@ -40,7 +38,7 @@ jobs:
4038

4139
run: |
4240
echo $ENCODED_STRING > properties-b64.txt
43-
base64 -d properties-b64.txt > $SIGNING_PROPERTIES_STORE_PATH
41+
base64 -i -d properties-b64.txt > $SIGNING_PROPERTIES_STORE_PATH
4442
4543
- name: Build Release apk
4644
run: ./gradlew assembleRelease

0 commit comments

Comments
 (0)