Skip to content

Commit

Permalink
Code review: include SEGMENT_DOWNLOAD_TIMEOUT_MINS and use cachec@v4 …
Browse files Browse the repository at this point in the history
…instead of @v4.0.2 (soon deprecated)
  • Loading branch information
antonioaversa committed Dec 12, 2024
1 parent fe5b156 commit 258957a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ runs:
INPUT_PROJECTBASEDIR: ${{ inputs.projectBaseDir }}
- name: Load Sonar Scanner CLI from cache
id: sonar-scanner-cli
uses: actions/cache@v4.0.2
uses: actions/cache@v4
env:
# The default value is 60mins. Reaching timeout is treated the same as a cache miss.
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
with:
path: ${{ runner.temp }}/sonar-scanner-cli-${{ inputs.scannerVersion }}-${{ runner.os }}-${{ runner.arch }}
key: sonar-scanner-cli-${{ inputs.scannerVersion }}-${{ runner.os }}-${{ runner.arch }}
Expand Down

0 comments on commit 258957a

Please sign in to comment.