Browse Source

Update to spring-io/spring-gradle-build-action@v2

Rob Winch 2 years ago
parent
commit
765f4f65fd
1 changed files with 1 additions and 7 deletions
  1. 1 7
      .github/workflows/deploy-docs.yml

+ 1 - 7
.github/workflows/deploy-docs.yml

@@ -19,16 +19,10 @@ jobs:
       with:
       with:
         fetch-depth: 5
         fetch-depth: 5
     - name: Set Up Gradle
     - name: Set Up Gradle
-      uses: spring-io/spring-gradle-build-action@v1
+      uses: spring-io/spring-gradle-build-action@v2
       with:
       with:
         java-version: '17'
         java-version: '17'
         distribution: temurin
         distribution: temurin
-    - name: Scrub Gradle Cache
-      # Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
-      # Restoring these files from a GitHub Actions cache might cause problems for future builds.
-      run: |
-        rm -f /home/runner/.gradle/caches/modules-2/modules-2.lock
-        rm -f /home/runner/.gradle/caches/modules-2/gc.properties
     - name: Set up refname build
     - name: Set up refname build
       if: github.event.inputs.build-refname
       if: github.event.inputs.build-refname
       run: |
       run: |