Merge pull request #525 from vector-im/misc/jme/add-gradle-cache-to-record-screenshots-flow

Add gradle cache to 'record screenshots' workflow
This commit is contained in:
Benoit Marty 2023-06-05 09:58:55 +02:00 committed by GitHub
commit e3fcc77cae

View file

@ -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: