From 5a9de39daab9ca1bb897f9dc8b0385bd50bbac84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Mon, 5 Jun 2023 09:03:47 +0200 Subject: [PATCH] Add gradle cache to record screenshots flow --- .github/workflows/recordScreenshots.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/recordScreenshots.yml b/.github/workflows/recordScreenshots.yml index 277939de18..c28f4df26b 100644 --- a/.github/workflows/recordScreenshots.yml +++ b/.github/workflows/recordScreenshots.yml @@ -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: