Skip to content

Commit 01d1271

Browse files
committed
actions: Fix build keystore
1 parent d4ba9fd commit 01d1271

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build-pre-release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,13 @@ jobs:
4343
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
4444
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
4545
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
46+
SIGNING_KEYSTORE: ${{ secrets.SIGNING_KEYSTORE}}
4647
run: |
4748
touch signing.properties
4849
echo keystore.password="$SIGNING_STORE_PASSWORD" > signing.properties
4950
echo key.alias="$SIGNING_KEY_ALIAS" >> signing.properties
5051
echo key.password="$SIGNING_KEY_PASSWORD" >> signing.properties
52+
echo "$SIGNING_KEYSTORE" | base64 -d > release.keystore
5153
5254
echo "cat signing.properties"
5355
cat signing.properties

.github/workflows/build-release.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,13 @@ jobs:
8282
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
8383
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
8484
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
85+
SIGNING_KEYSTORE: ${{ secrets.SIGNING_KEYSTORE}}
8586
run: |
8687
touch signing.properties
8788
echo keystore.password="$SIGNING_STORE_PASSWORD" > signing.properties
8889
echo key.alias="$SIGNING_KEY_ALIAS" >> signing.properties
8990
echo key.password="$SIGNING_KEY_PASSWORD" >> signing.properties
90-
91-
echo "cat signing.properties"
92-
cat signing.properties
91+
echo "$SIGNING_KEYSTORE" | base64 -d > release.keystore
9392
9493
- name: Release Build
9594
if: success()

0 commit comments

Comments
 (0)