From ea0362bf7b35097068b985d005f8c0887f251063 Mon Sep 17 00:00:00 2001 From: Bilgin Aksoy Date: Mon, 16 Dec 2024 10:40:37 +0100 Subject: [PATCH] Force unzip without prompt in sonar scanner installation when files already exist (#163) --- scripts/install-sonar-scanner-cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-sonar-scanner-cli.sh b/scripts/install-sonar-scanner-cli.sh index daf6ef8..f08a78e 100755 --- a/scripts/install-sonar-scanner-cli.sh +++ b/scripts/install-sonar-scanner-cli.sh @@ -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