Skip to content

Commit ca203ad

Browse files
authored
[+] Rename apk file
1 parent d1df73e commit ca203ad

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/android.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@ jobs:
3030
run: |
3131
APK_FILE=$(find app/build/outputs/apk/debug -name '*.apk' | head -n 1)
3232
echo "APK_FILE=$APK_FILE" >> $GITHUB_ENV
33-
APK_FILE_NAME=$(basename "$APK_FILE")
34-
echo "APK_FILE_NAME=$APK_FILE_NAME" >> $GITHUB_ENV
3533
36-
- name: Upload APKs to Artifacts
34+
- name: Rename APK
35+
run: |
36+
mv "$APK_FILE" app/build/outputs/apk/debug/meowmeow.apk
37+
echo "RENAMED_APK=app/build/outputs/apk/debug/meowmeow.apk" >> $GITHUB_ENV
38+
39+
- name: Upload APK as Artifact
3740
uses: actions/upload-artifact@v4
3841
with:
39-
name: ${{ env.APK_FILE_NAME }}
40-
path: ${{ env.APK_FILE }}
42+
name: meowmeow
43+
path: ${{ env.RENAMED_APK }}
4144
retention-days: 5

0 commit comments

Comments
 (0)