Downgrade to Gradle 6.8.3 as Gradle 7.0 has problems with the screenshots task, add caching in workflow
This commit is contained in:
10
.github/workflows/generate-screenshots.yml
vendored
10
.github/workflows/generate-screenshots.yml
vendored
@@ -18,6 +18,16 @@ jobs:
|
||||
echo $LD_LIBRARY_PATH
|
||||
export GALLIUM_DRIVER=swr
|
||||
xvfb-run glxinfo
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Collect screenshots
|
||||
run: xvfb-run ./gradlew collectScreenshots
|
||||
- name: Build main readme
|
||||
|
||||
Reference in New Issue
Block a user