From 211e2ce93867d399017af06a7769e429eb05f7ab Mon Sep 17 00:00:00 2001 From: Roberto Perez Alcolea Date: Tue, 10 Dec 2024 21:06:10 +0000 Subject: [PATCH] refactor: Change GitHub Action version to address deprecation Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.github.ChangeActionVersion?organizationId=TmV0ZmxpeA%3D%3D#defaults=W3sidmFsdWUiOiJhY3Rpb25zL2NhY2hlIiwibmFtZSI6ImFjdGlvbiJ9LHsidmFsdWUiOiJ2NCIsIm5hbWUiOiJ2ZXJzaW9uIn1d Co-authored-by: Moderne --- .github/workflows/nebula-ci.yml | 4 ++-- .github/workflows/nebula-publish.yml | 4 ++-- .github/workflows/nebula-snapshot.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nebula-ci.yml b/.github/workflows/nebula-ci.yml index 314ca6f5b8..772c523f6e 100644 --- a/.github/workflows/nebula-ci.yml +++ b/.github/workflows/nebula-ci.yml @@ -21,14 +21,14 @@ jobs: uses: actions/setup-java@v1 with: java-version: ${{ matrix.java }} - - uses: actions/cache@v1 + - uses: actions/cache@v4 id: gradle-cache with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle/dependency-locks/*.lockfile') }} restore-keys: | - ${{ runner.os }}-gradle- - - uses: actions/cache@v1 + - uses: actions/cache@v4 id: gradle-wrapper-cache with: path: ~/.gradle/wrapper diff --git a/.github/workflows/nebula-publish.yml b/.github/workflows/nebula-publish.yml index 5e20218a10..5b8194a556 100644 --- a/.github/workflows/nebula-publish.yml +++ b/.github/workflows/nebula-publish.yml @@ -17,14 +17,14 @@ jobs: uses: actions/setup-java@v1 with: java-version: 1.8 - - uses: actions/cache@v1 + - uses: actions/cache@v4 id: gradle-cache with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle/dependency-locks/*.lockfile') }} restore-keys: | - ${{ runner.os }}-gradle- - - uses: actions/cache@v1 + - uses: actions/cache@v4 id: gradle-wrapper-cache with: path: ~/.gradle/wrapper diff --git a/.github/workflows/nebula-snapshot.yml b/.github/workflows/nebula-snapshot.yml index b4ee740933..13cbea1225 100644 --- a/.github/workflows/nebula-snapshot.yml +++ b/.github/workflows/nebula-snapshot.yml @@ -16,13 +16,13 @@ jobs: uses: actions/setup-java@v1 with: java-version: 8 - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: gradle-cache with: path: | ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: gradle-wrapper-cache with: path: |