Skip to content

Commit 7ffd595

Browse files
committed
Build release with 'external' release.keystore
1 parent 0b2e348 commit 7ffd595

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/android.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,14 @@ jobs:
3131
with:
3232
java-version: 1.8
3333

34-
- run: ./gradlew assembleRelease --stacktrace
34+
- run: echo ${{ secrets.SIGNING_STORE_FILE }} | base64 -d > app/release.keystore
35+
36+
- run: |
37+
./gradlew assembleRelease --stacktrace \
38+
-Pandroid.injected.signing.store.file=$PWD/app/release.keystore \
39+
-Pandroid.injected.signing.store.password=${{ secrets.SIGNING_STORE_PASSWORD }}
40+
-Pandroid.injected.signing.key.alias=${{ secrets.SIGNING_KEY_ALIAS }}
41+
-Pandroid.injected.signing.key.password=${{ secrets.SIGNING_KEY_PASSWORD }}
3542
3643
- uses: actions/upload-artifact@v1
3744
with:

0 commit comments

Comments
 (0)