mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-16 02:56:30 +00:00
Code review: include SEGMENT_DOWNLOAD_TIMEOUT_MINS and use cachec@v4 instead of @v4.0.2 (soon deprecated)
This commit is contained in:
parent
fe5b156c90
commit
258957a6c1
1 changed files with 4 additions and 1 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue