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:
commit
c8688b556b
1 changed files with 5 additions and 0 deletions
5
.github/workflows/recordScreenshots.yml
vendored
5
.github/workflows/recordScreenshots.yml
vendored
|
|
@ -22,6 +22,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||||
java-version: '17'
|
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
|
- name: Record screenshots
|
||||||
run: "./.github/workflows/scripts/recordScreenshots.sh"
|
run: "./.github/workflows/scripts/recordScreenshots.sh"
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue