Skip to content

Commit d4137a4

Browse files
committed
Fix workflow secrets evaluation syntax and add gradle-wrapper.jar to tracking
1 parent c9571e5 commit d4137a4

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,13 @@ jobs:
4646
run: chmod +x gradlew
4747

4848
- name: Decode Keystore
49-
if: ${{ secrets.ANDROID_KEYSTORE_BASE64 != '' }}
49+
env:
50+
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
51+
if: env.ANDROID_KEYSTORE_BASE64 != ''
5052
run: |
51-
echo "${{ secrets.ANDROID_KEYSTORE_BASE64 }}" | base64 -d > app/release.jks
52-
echo "${{ secrets.ANDROID_KEYSTORE_BASE64 }}" | base64 -d > wear/release.jks
53+
echo "$ANDROID_KEYSTORE_BASE64" | base64 -d > app/release.jks
54+
echo "$ANDROID_KEYSTORE_BASE64" | base64 -d > wear/release.jks
55+
5356
5457
# ── Phone companion app (works on any Android 10+ device) ──
5558
- name: Build phone app (debug)

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ Thumbs.db
2222
*.apk
2323
*.aar
2424
*.jar
25+
!gradle-wrapper.jar
26+

gradle/wrapper/gradle-wrapper.jar

42.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)