From 48425c74ec66de3ec8282e4d1429ede15e2ca090 Mon Sep 17 00:00:00 2001 From: Milorad Jovanovic Date: Wed, 11 Dec 2024 14:02:06 +0000 Subject: [PATCH] Update install-sonar-scanner-cli.sh --- install-sonar-scanner-cli.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-sonar-scanner-cli.sh b/install-sonar-scanner-cli.sh index 6692675..5147d48 100755 --- a/install-sonar-scanner-cli.sh +++ b/install-sonar-scanner-cli.sh @@ -53,5 +53,8 @@ fi unzip -q $SCANNER_FILE_NAME +sed -i "s/use_embedded_jre=true/use_embedded_jre=false/g" sonar-scanner-$INPUT_SCANNERVERSION-$FLAVOR/bin/sonar-scanner + + # 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