tests workflow will now update gradle cache when run against develop (#7238)
This commit is contained in:
parent
fad02062d8
commit
337dce7d9e
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
@ -31,6 +31,9 @@ jobs:
|
|||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
- uses: gradle/gradle-build-action@v2
|
- uses: gradle/gradle-build-action@v2
|
||||||
|
with:
|
||||||
|
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
|
||||||
|
gradle-home-cache-cleanup: ${{ github.ref == 'refs/heads/develop' }}
|
||||||
|
|
||||||
- name: Run screenshot tests
|
- name: Run screenshot tests
|
||||||
run: ./gradlew verifyScreenshots $CI_GRADLE_ARG_PROPERTIES
|
run: ./gradlew verifyScreenshots $CI_GRADLE_ARG_PROPERTIES
|
||||||
|
Loading…
Reference in New Issue
Block a user