Skip to content

Commit a8685ab

Browse files
committed
Enhance APK build workflow: add artifact upload step for generated APK
1 parent cb71a2c commit a8685ab

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/build-apk.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- main
77
- master
8+
tags:
9+
- 'v*'
810
pull_request:
911
branches:
1012
- main
@@ -49,4 +51,10 @@ jobs:
4951
run: npx cap add android
5052

5153
- name: Build APK
52-
run: npx cap build android
54+
run: npx cap build android
55+
56+
- name: Upload APK
57+
uses: actions/upload-artifact@v4
58+
with:
59+
name: chappi-apk-${{ github.ref_name }}
60+
path: android/app/build/outputs/apk/debug/app-debug.apk

0 commit comments

Comments
 (0)