Skip to content

Commit c1cc449

Browse files
committed
Update Github Workflow: fix KEYSTORE_FILE path
1 parent 5c60708 commit c1cc449

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/android.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_dispatch:
1010

1111
env:
12-
KEYSTORE_FILE: app/keystore-qrbarcode.jks
12+
KEYSTORE_FILE: keystore-qrbarcode.jks
1313
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
1414
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
1515
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
@@ -51,7 +51,7 @@ jobs:
5151
bundle install
5252
5353
- name: Decode Keystore File
54-
run: echo "${{ secrets.KEYSTORE_FILE }}" | base64 -d > ${{ env.KEYSTORE_FILE }}
54+
run: echo "${{ secrets.KEYSTORE_FILE }}" | base64 -d > app/${{ env.KEYSTORE_FILE }}
5555

5656
- name: Create Google Service Account JSON
5757
run: |
@@ -90,15 +90,21 @@ jobs:
9090
bundle install
9191
9292
- name: Decode Keystore File
93-
run: echo "${{ secrets.KEYSTORE_FILE }}" | base64 -d > ${{ env.KEYSTORE_FILE }}
93+
run: echo "${{ secrets.KEYSTORE_FILE }}" | base64 -d > app/${{ env.KEYSTORE_FILE }}
94+
95+
- name: Debug keystore file
96+
run: ls -la app
9497

9598
- name: Write local.properties
9699
run: |
97100
echo "sdk.dir=$ANDROID_HOME" > local.properties
98-
echo "KEYSTORE_FILE=${{ env.KEYSTORE_FILE }}" >> local.properties
101+
echo "KEYSTORE_FILE=app/${{ env.KEYSTORE_FILE }}" >> local.properties
99102
echo "KEYSTORE_PASSWORD=${{ env.KEYSTORE_PASSWORD }}" >> local.properties
100103
echo "KEY_ALIAS=${{ env.KEY_ALIAS }}" >> local.properties
101104
echo "KEY_PASSWORD=${{ env.KEY_PASSWORD }}" >> local.properties
105+
106+
- name: Debug local.properties
107+
run: cat local.properties
102108

103109
- name: Create Google Service Account JSON
104110
run: |

0 commit comments

Comments
 (0)