Skip to content

Commit d1df73e

Browse files
authored
[+] Update android.yml
1 parent 749e36d commit d1df73e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/android.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ jobs:
2828

2929
- name: Find APKs
3030
run: |
31-
APK_FILE=$(find app/build/outputs/apk -name '*.apk')
31+
APK_FILE=$(find app/build/outputs/apk/debug -name '*.apk' | head -n 1)
3232
echo "APK_FILE=$APK_FILE" >> $GITHUB_ENV
33-
echo "APK_FILE_NAME=$(basename $APK_FILE .apk)" >> $GITHUB_ENV
33+
APK_FILE_NAME=$(basename "$APK_FILE")
34+
echo "APK_FILE_NAME=$APK_FILE_NAME" >> $GITHUB_ENV
3435
3536
- name: Upload APKs to Artifacts
3637
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)