diff --git a/build-poetry/action.yml b/build-poetry/action.yml index eacc2c26..cb1578dc 100644 --- a/build-poetry/action.yml +++ b/build-poetry/action.yml @@ -107,7 +107,7 @@ runs: with: host-actions-root: ${{ steps.set-path.outputs.host_actions_root }} - name: Cache local Poetry cache - uses: SonarSource/gh-action_cache@v1 + uses: SonarSource/gh-action_cache@master if: inputs.disable-caching == 'false' with: path: ${{ github.workspace }}/${{ inputs.poetry-cache-dir }} diff --git a/build-yarn/action.yml b/build-yarn/action.yml index 44debebe..2fb06704 100644 --- a/build-yarn/action.yml +++ b/build-yarn/action.yml @@ -111,7 +111,7 @@ runs: working_directory: ${{ inputs.working-directory }} - name: Cache Yarn dependencies - uses: SonarSource/gh-action_cache@v1 + uses: SonarSource/gh-action_cache@master if: ${{ inputs.cache-yarn == 'true' }} with: path: | diff --git a/cache/action.yml b/cache/action.yml index 760a6190..c2a790ca 100644 --- a/cache/action.yml +++ b/cache/action.yml @@ -36,7 +36,7 @@ runs: echo "::warning:: This action is deprecated and will be removed in future releases. " \ "Please migrate to using the SonarSource/gh-action_cache action directly." >&2 - - uses: SonarSource/gh-action_cache@v1 + - uses: SonarSource/gh-action_cache@master id: cache with: path: ${{ inputs.path }} diff --git a/code-signing/action.yml b/code-signing/action.yml index cbbb9c17..c9c7ec0f 100644 --- a/code-signing/action.yml +++ b/code-signing/action.yml @@ -22,7 +22,7 @@ runs: echo "JSIGN_CACHE_PATH=/tmp/jsign-cache" >> "$GITHUB_ENV" - name: Cache code signing tools - uses: SonarSource/gh-action_cache@v1 + uses: SonarSource/gh-action_cache@master id: tools-cache with: path: | diff --git a/config-gradle/action.yml b/config-gradle/action.yml index af583e47..a1685e87 100644 --- a/config-gradle/action.yml +++ b/config-gradle/action.yml @@ -167,7 +167,7 @@ runs: run: echo "workflow_name=${WORKFLOW_NAME// /-}" >> "$GITHUB_OUTPUT" - name: Gradle Cache - uses: SonarSource/gh-action_cache@v1 + uses: SonarSource/gh-action_cache@master if: steps.config-gradle-completed.outputs.skip != 'true' && inputs.disable-caching == 'false' with: path: ${{ inputs.cache-paths }} diff --git a/config-maven/action.yml b/config-maven/action.yml index 62aa06e9..9adf9c43 100644 --- a/config-maven/action.yml +++ b/config-maven/action.yml @@ -178,7 +178,7 @@ runs: run: echo "workflow_name=${WORKFLOW_NAME// /-}" >> "$GITHUB_OUTPUT" - name: Cache local Maven repository - uses: SonarSource/gh-action_cache@v1 + uses: SonarSource/gh-action_cache@master if: steps.config-maven-completed.outputs.skip != 'true' && inputs.disable-caching == 'false' with: path: ${{ inputs.cache-paths }} diff --git a/config-npm/action.yml b/config-npm/action.yml index 9d4c7f99..96b729a4 100644 --- a/config-npm/action.yml +++ b/config-npm/action.yml @@ -106,7 +106,7 @@ runs: run: echo "workflow_name=${WORKFLOW_NAME// /-}" >> "$GITHUB_OUTPUT" - name: Cache NPM dependencies - uses: SonarSource/gh-action_cache@v1 + uses: SonarSource/gh-action_cache@master if: ${{ inputs.cache-npm == 'true' }} with: path: ~/.npm diff --git a/config-pip/action.yml b/config-pip/action.yml index edbe936e..a5c1d499 100644 --- a/config-pip/action.yml +++ b/config-pip/action.yml @@ -100,7 +100,7 @@ runs: run: echo "workflow_name=${WORKFLOW_NAME// /-}" >> "$GITHUB_OUTPUT" - name: Cache pip dependencies - uses: SonarSource/gh-action_cache@v1 + uses: SonarSource/gh-action_cache@master if: inputs.disable-caching == 'false' with: path: ${{ inputs.cache-paths }}