File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,22 +13,16 @@ jobs:
1313 steps :
1414 - uses : actions/checkout@v4
1515
16- - name : Gradle cache
17- uses : actions/cache @v4
16+ - name : Setup Gradle
17+ uses : gradle/ actions/setup-gradle @v4
1818 with :
19- path : |
20- ~/.gradle/caches
21- ~/.gradle/wrapper
22- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
23- restore-keys : |
24- ${{ runner.os }}-gradle-
19+ gradle-home-cache-cleanup : true
2520
2621 - name : Set up JDK 21
2722 uses : actions/setup-java@v4
2823 with :
2924 java-version : ' 21'
3025 distribution : ' temurin'
31- cache : gradle
3226
3327 - name : Grant execute permission for gradlew
3428 run : chmod +x gradlew
4034 run : ./gradlew ktlintCheck detekt
4135
4236 - name : Run build
43- run : ./gradlew buildDebug --stacktrace
37+ run : ./gradlew assembleDebug --stacktrace
You can’t perform that action at this time.
0 commit comments