File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : PR Check
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ master ]
6
+ paths-ignore :
7
+ - ' fastlane/**'
8
+ - ' .github/**'
9
+ - ' icons/**'
10
+ - ' images/**'
11
+ - ' scripts/**'
12
+ - ' whatsnew/**'
13
+ - ' **.md'
14
+ - ' **.MD'
15
+
16
+ # If two events are triggered within a short time in the same PR, cancel the run of the oldest event
17
+ concurrency :
18
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number }}
19
+ cancel-in-progress : true
20
+
21
+ jobs :
22
+ validate-pr :
23
+ name : ' Tests and Build Production Debug Build'
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ - uses : actions/checkout@v4
27
+
28
+ - name : Set up JDK 21
29
+ uses : actions/setup-java@v4
30
+ with :
31
+ java-version : ' 21'
32
+ distribution : ' jetbrains'
33
+
34
+ - name : Grant execute permission for gradlew
35
+ run : chmod +x ./gradlew
36
+
37
+ - name : 🏗 Build APK
38
+ run : bash ./gradlew assembleDebug
39
+
40
+ - name : 🚀 Upload APK to Artifacts 📱
41
+ uses : actions/upload-artifact@v4
42
+ with :
43
+ name : app
44
+ path : app/build/outputs/apk/debug/*.apk
45
+ retention-days : 3
You can’t perform that action at this time.
0 commit comments