Allow builds on `develop` to write to the Gradle cache, update task names (#3834)

This commit is contained in:
Nik Clayton 2023-07-12 13:26:30 +02:00 committed by GitHub
parent 1421d46797
commit a41b81cd70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -25,15 +25,17 @@ jobs:
- name: Gradle Build Action
uses: gradle/gradle-build-action@v2
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}
- name: ktlint
run: ./gradlew clean ktlintCheck
- name: Regular lint
run: ./gradlew lintGreenDebug
run: ./gradlew app:lintGreenDebug
- name: Test
run: ./gradlew app:testGreenDebugUnitTest
- name: Build
run: ./gradlew app:greenDebug
run: ./gradlew app:buildGreenDebug