mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2026-01-27 15:13:16 +03:00
Force unzip without prompt in sonar scanner installation when files already exist (#163)
This commit is contained in:
@@ -46,7 +46,7 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unzip -q $SCANNER_FILE_NAME
|
unzip -q -o $SCANNER_FILE_NAME
|
||||||
|
|
||||||
# Folder name should correspond to the directory cached by the actions/cache
|
# Folder name should correspond to the directory cached by the actions/cache
|
||||||
mv sonar-scanner-$INPUT_SCANNERVERSION-$FLAVOR $RUNNER_TEMP/sonar-scanner-cli-$INPUT_SCANNERVERSION-$RUNNER_OS-$RUNNER_ARCH
|
mv sonar-scanner-$INPUT_SCANNERVERSION-$FLAVOR $RUNNER_TEMP/sonar-scanner-cli-$INPUT_SCANNERVERSION-$RUNNER_OS-$RUNNER_ARCH
|
||||||
|
|||||||
Reference in New Issue
Block a user