We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3a2762 commit 588ead0Copy full SHA for 588ead0
.github/workflows/andriod1.yml
@@ -0,0 +1,35 @@
1
+name: Build APK
2
+
3
+on:
4
+ push:
5
+ branches: [ master ] # 仅 master 更新时触发
6
+ workflow_dispatch: # 允许手动触发
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout source (含子模块)
14
+ uses: actions/checkout@v4
15
+ with:
16
+ submodules: recursive
17
+ fetch-depth: 0
18
19
+ - name: Set up JDK 17
20
+ uses: actions/setup-java@v4
21
22
+ distribution: temurin
23
+ java-version: 17
24
25
+ - name: Make gradlew executable
26
+ run: chmod +x gradlew
27
28
+ - name: Build release APK
29
+ run: ./gradlew :app_main:assembleRelease
30
31
+ - name: Upload artifact
32
+ uses: actions/upload-artifact@v4
33
34
+ name: RFIDtools-latest
35
+ path: app_main/build/outputs/apk/release/app_main-release.apk
0 commit comments