diff --git a/action.yml b/action.yml index b3b9770..9e8ce9e 100644 --- a/action.yml +++ b/action.yml @@ -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 }}