Skip to content

Commit 2565eeb

Browse files
committed
fix: specify shell to execute apk signing and set secret as env variables
1 parent 9845435 commit 2565eeb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/update.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,15 @@ jobs:
7070
7171
# Align and sign the APK
7272
- name: Sign APK
73+
shell: bash
74+
env:
75+
KEY_ALIAS: ${{ secrets.TEST_KS_ALIAS }}
76+
KEY_PASSWORD: ${{ secrets.TEST_KS_KEY }}
7377
run: |
7478
APK_INPUT="owncloud-${{ github.sha }}.apk"
7579
APK_ALIGNED="owncloud-${{ github.sha }}-aligned.apk"
7680
APK_SIGNED="owncloudSigned-${{ github.sha }}.apk"
7781
KEYSTORE="./test.keystore"
78-
KEY_ALIAS="${{ secrets.TEST_KS_ALIAS }}"
79-
KEY_PASSWORD="${{ secrets.TEST_KS_KEY }}"
8082
8183
# Align APK for optimal performance
8284
echo "Aligning APK..."

0 commit comments

Comments
 (0)