Update install-sonar-scanner-cli.sh

This commit is contained in:
Milorad Jovanovic 2024-12-11 14:02:06 +00:00
parent df628b9844
commit 48425c74ec

View File

@ -53,5 +53,8 @@ fi
unzip -q $SCANNER_FILE_NAME 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 # 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