File tree Expand file tree Collapse file tree 2 files changed +63
-0
lines changed
Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ # To get started with Dependabot version updates, you'll need to specify which
2+ # package ecosystems to update and where the package manifests are located.
3+ # Please see the documentation for all configuration options:
4+ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+ version : 2
7+ updates :
8+ - package-ecosystem : " gradle"
9+ directory : " /"
10+ schedule :
11+ interval : " weekly"
12+ open-pull-requests-limit : 10
13+ - package-ecosystem : " gradle"
14+ directory : " /app"
15+ schedule :
16+ interval : " weekly"
17+ open-pull-requests-limit : 10
Original file line number Diff line number Diff line change 1+ name : Android CI
2+
3+ on :
4+ push :
5+ branches : [ main, master, develop ]
6+ pull_request :
7+ branches : [ main, master, develop ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ concurrency :
13+ group : android-ci-${{ github.ref }}
14+ cancel-in-progress : true
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v4
18+
19+ - name : Set up JDK 17
20+ uses : actions/setup-java@v4
21+ with :
22+ distribution : temurin
23+ java-version : ' 17'
24+
25+ - name : Cache Gradle
26+ uses : actions/cache@v4
27+ with :
28+ path : |
29+ ~/.gradle/caches
30+ ~/.gradle/wrapper
31+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/gradle/wrapper/**', '**/gradle-wrapper.properties') }}-${{ hashFiles('**/*.gradle*', '**/gradle.properties') }}
32+ restore-keys : |
33+ ${{ runner.os }}-gradle-
34+
35+ - name : Grant execute permission for gradlew
36+ run : chmod +x ./gradlew
37+
38+ - name : Build (assemble + tests)
39+ run : ./gradlew build --no-daemon --stacktrace
40+
41+ - name : Upload APKs
42+ if : always()
43+ uses : actions/upload-artifact@v4
44+ with :
45+ name : apks
46+ path : app/build/outputs/**/*.apk
You can’t perform that action at this time.
0 commit comments