From 3cdeed9323f8e4a7c58553af1579075f31aefe96 Mon Sep 17 00:00:00 2001 From: Roberto Perez Alcolea Date: Tue, 10 Dec 2024 21:19:18 +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/genie-build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/genie-build.yml b/.github/workflows/genie-build.yml index dd65e40217..5115c118a6 100644 --- a/.github/workflows/genie-build.yml +++ b/.github/workflows/genie-build.yml @@ -54,35 +54,35 @@ jobs: uses: actions/setup-java@v1 with: java-version: 17 - - 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 key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }} restore-keys: | - ${{ runner.os }}-gradlewrapper- - - uses: actions/cache@v1 + - uses: actions/cache@v4 id: genie-ui-node-modules with: path: genie-ui/node_modules/ key: ${{ runner.os }}-genie-ui-node-modules-${{ hashFiles('genie-ui/node_modules/*') }} restore-keys: | - ${{ runner.os }}-genie-ui-node-modules- - - uses: actions/cache@v1 + - uses: actions/cache@v4 id: genie-ui-gradle-nodejs with: path: genie-ui/.gradle/nodejs key: ${{ runner.os }}-genie-ui-gradle-nodejs-${{ hashFiles('genie-ui/.gradle/nodejs/*') }} restore-keys: | - ${{ runner.os }}-genie-ui-gradle-nodejs- - - uses: actions/cache@v1 + - uses: actions/cache@v4 id: genie-ui-gradle-npm with: path: genie-ui/.gradle/npm