Add gradle cache to record screenshots flow
This commit is contained in:
5
.github/workflows/recordScreenshots.yml
vendored
5
.github/workflows/recordScreenshots.yml
vendored
@@ -22,6 +22,11 @@ jobs:
|
||||
with:
|
||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||
java-version: '17'
|
||||
# Add gradle cache, this should speed up the process
|
||||
- name: Configure gradle
|
||||
uses: gradle/gradle-build-action@v2.4.2
|
||||
with:
|
||||
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
|
||||
- name: Record screenshots
|
||||
run: "./.github/workflows/scripts/recordScreenshots.sh"
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user