mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-12 17:31:15 +00:00
Another try
This commit is contained in:
parent
ef61b6021f
commit
42fef39f2a
1 changed files with 2 additions and 1 deletions
|
|
@ -59,9 +59,10 @@ runs:
|
|||
const toolrunner = require("@actions/exec/lib/toolrunner");
|
||||
|
||||
const IS_WINDOWS = process.platform === 'win32'
|
||||
const runnerTemp = process.env.RUNNER_TEMP
|
||||
|
||||
var args = toolrunner.argStringToArray(core.getInput('args'));
|
||||
|
||||
exec.exec(IS_WINDOWS ? 'sonar-scanner.bat' : 'sonar-scanner', args);
|
||||
exec.exec(IS_WINDOWS ? runnerTemp + '/sonar-scanner-cli-${{ inputs.scannerVersion }}-${{ runner.os }}-${{ runner.arch }}/bin/sonar-scanner.bat' : 'sonar-scanner', args);
|
||||
env:
|
||||
INPUT_ARGS: ${{ inputs.args }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue