From cfaa708826a07a0c992dc9c4fc65109c08e9b3cc Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Tue, 18 Jan 2022 21:07:16 +0100 Subject: [PATCH] Make screenshot generation work again (#219) --- .github/workflows/generate-screenshots.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/generate-screenshots.yml b/.github/workflows/generate-screenshots.yml index aba43ea20..e69da1e7d 100644 --- a/.github/workflows/generate-screenshots.yml +++ b/.github/workflows/generate-screenshots.yml @@ -6,7 +6,7 @@ on: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: # Get OPENRNDR - name: Get OPENRNDR HEAD ref @@ -33,15 +33,13 @@ jobs: - uses: actions/setup-java@v1 with: java-version: 17 - - uses: openrndr/setup-opengl@v1.1 - name: Test glxinfo run: | - echo $LD_LIBRARY_PATH - export GALLIUM_DRIVER=swr + sudo apt install -y mesa-utils xvfb xvfb-run glxinfo -# - name: Collect screenshots -# run: xvfb-run ./gradlew collectScreenshots + - name: Collect screenshots + run: xvfb-run ./gradlew collectScreenshots - name: Build main readme run: xvfb-run ./gradlew buildMainReadme - name: Prepare media branch