Force unzip without prompt in sonar scanner installation when files already exist (#163)

This commit is contained in:
Bilgin Aksoy
2024-12-16 10:40:37 +01:00
committed by GitHub
parent d1fd0ebe22
commit ea0362bf7b

View File

@@ -46,7 +46,7 @@ else
exit 1
fi
unzip -q $SCANNER_FILE_NAME
unzip -q -o $SCANNER_FILE_NAME
# 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