Allow builds on `develop` to write to the Gradle cache, update task names (#3834)
This commit is contained in:
parent
1421d46797
commit
a41b81cd70
|
@ -25,15 +25,17 @@ jobs:
|
||||||
|
|
||||||
- name: Gradle Build Action
|
- name: Gradle Build Action
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
|
with:
|
||||||
|
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}
|
||||||
|
|
||||||
- name: ktlint
|
- name: ktlint
|
||||||
run: ./gradlew clean ktlintCheck
|
run: ./gradlew clean ktlintCheck
|
||||||
|
|
||||||
- name: Regular lint
|
- name: Regular lint
|
||||||
run: ./gradlew lintGreenDebug
|
run: ./gradlew app:lintGreenDebug
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: ./gradlew app:testGreenDebugUnitTest
|
run: ./gradlew app:testGreenDebugUnitTest
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew app:greenDebug
|
run: ./gradlew app:buildGreenDebug
|
||||||
|
|
Loading…
Reference in New Issue