Skip to content

Commit f7edf32

Browse files
committed
Add apk upload after building
1 parent 9cf3a58 commit f7edf32

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ name: CI
22

33
on:
44
push:
5-
paths:
6-
- 'Mifare Classic Tool/**'
5+
branches: [ master, main ]
76
pull_request:
8-
paths:
9-
- 'Mifare Classic Tool/**'
7+
branches: [ master, main ]
108

119
env:
1210
PROJECT_PATH: Mifare Classic Tool
@@ -24,3 +22,8 @@ jobs:
2422
- name: Build
2523
working-directory: ${{ env.PROJECT_PATH }}
2624
run: ./gradlew assemble
25+
- name: Upload APK
26+
uses: actions/upload-artifact@v4
27+
with:
28+
name: mct-debug-apk
29+
path: ${{ env.PROJECT_PATH }}/app/build/outputs/apk/debug/app-debug.apk

0 commit comments

Comments
 (0)