File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
Original file line number Diff line number Diff line change 1+
2+ on :
3+ push :
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+
10+ - name : Setup Java
11+ uses : actions/setup-java@v4
12+ with :
13+ distribution : temurin
14+ java-version : 21
15+
16+ - name : Checkout
17+ uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+
21+ - name : Cache Gradle
22+ uses : actions/cache@v4
23+ with :
24+ path : |
25+ ~/.gradle/caches
26+ ~/.gradle/wrapper
27+ key : gradle-cache-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'gradle/libs.versions.toml') }}
28+ restore-keys : gradle-cache-
29+
30+ - name : Prepare files
31+ run : |
32+ chmod +x gradlew
33+
34+ - name : Compile
35+ run : ./gradlew assembleDebug
36+
37+ - name : Upload Result
38+ uses : actions/upload-artifact@v4
39+ with :
40+ path : ' */build/outputs/apk/debug/*-debug.apk'
41+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments