Skip to content

Commit a15f881

Browse files
committed
actions: Fix build keystore
Signed-off-by: hamjin <jinham@qq.com>
1 parent f6f410f commit a15f881

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,13 @@ jobs:
4949
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
5050
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
5151
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
52+
SIGNING_KEYSTORE: ${{ secrets.SIGNING_KEYSTORE}}
5253
run: |
5354
touch signing.properties
5455
echo keystore.password="$SIGNING_STORE_PASSWORD" > signing.properties
5556
echo key.alias="$SIGNING_KEY_ALIAS" >> signing.properties
5657
echo key.password="$SIGNING_KEY_PASSWORD" >> signing.properties
58+
echo "$SIGNING_KEYSTORE" | base64 -d > release.keystore
5759
5860
echo "cat signing.properties"
5961
cat signing.properties

.github/workflows/build-release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,14 @@ jobs:
8888
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
8989
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
9090
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
91+
SIGNING_KEYSTORE: ${{ secrets.SIGNING_KEYSTORE}}
9192
run: |
9293
touch signing.properties
9394
echo keystore.password="$SIGNING_STORE_PASSWORD" > signing.properties
9495
echo key.alias="$SIGNING_KEY_ALIAS" >> signing.properties
9596
echo key.password="$SIGNING_KEY_PASSWORD" >> signing.properties
96-
97+
echo "$SIGNING_KEYSTORE" | base64 -d > release.keystore
98+
9799
echo "cat signing.properties"
98100
cat signing.properties
99101

0 commit comments

Comments
 (0)