From 771d5e30f834f3389dcafbcf72ab9dc0b9094f58 Mon Sep 17 00:00:00 2001 From: Goooler Date: Tue, 28 Feb 2023 17:24:03 +0800 Subject: [PATCH] Run with build cache by default Follow up a9ad736a7b73d0edcbec17603091af0de4bdbf6d. --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c372f1668..2a8078339d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,9 +33,9 @@ jobs: with: gradle-home-cache-cleanup: true - name: spotlessCheck - run: ./gradlew spotlessCheck --build-cache + run: ./gradlew spotlessCheck - name: assemble testClasses - run: ./gradlew assemble testClasses --build-cache + run: ./gradlew assemble testClasses build: needs: sanityCheck strategy: @@ -71,13 +71,13 @@ jobs: gradle-home-cache-cleanup: true - name: build (maven-only) if: matrix.kind == 'maven' - run: ./gradlew :plugin-maven:build -x spotlessCheck --build-cache + run: ./gradlew :plugin-maven:build -x spotlessCheck - name: build (everything-but-maven) if: matrix.kind == 'gradle' - run: ./gradlew build -x spotlessCheck --build-cache -PSPOTLESS_EXCLUDE_MAVEN=true + run: ./gradlew build -x spotlessCheck -PSPOTLESS_EXCLUDE_MAVEN=true - name: test npm if: matrix.kind == 'npm' - run: ./gradlew testNpm --build-cache + run: ./gradlew testNpm - name: junit result uses: mikepenz/action-junit-report@v3 if: always() # always run even if the previous step fails