From 49096b393735e7801354396d140167886fa43307 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Wed, 26 Apr 2023 12:48:35 -0400 Subject: [PATCH] * Use burrunan/gradle-cache-action got GH actions According to the `gradle/gradle-build-action` docs it caches only a `main` branch. This is not appropriate for us since we really never build `main` on GH actions. With this change we will experiment if `burrunan/gradle-cache-action` does what we would like to get from the Gradle cache feature * Some config adjustments for `gradle-cache-action` --- .github/workflows/pr-build-workflow.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-build-workflow.yml b/.github/workflows/pr-build-workflow.yml index ab5f0b7ade..704f7e13ca 100644 --- a/.github/workflows/pr-build-workflow.yml +++ b/.github/workflows/pr-build-workflow.yml @@ -28,11 +28,14 @@ jobs: java-version: 17 - name: Run Gradle - uses: gradle/gradle-build-action@v2 + uses: burrunan/gradle-cache-action@v1 env: SI_FATAL_WHEN_NO_BEANFACTORY: true NO_REFERENCE_TASK: true with: + debug: false + concurrent: true + gradle-build-scan-report: false arguments: checkAsciidocLinks check - name: Capture Test Results