This commit is contained in:
Milorad Jovanovic 2025-02-25 14:31:09 +01:00
parent 7ab2c17735
commit a6dcbb06b1

View File

@ -55,8 +55,9 @@ 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 if [[ "$RUNNER_OS" == "Linux" ]]; then
sed -i "s/use_embedded_jre=true/use_embedded_jre=false/g" sonar-scanner-$INPUT_SCANNERVERSION-$FLAVOR/bin/sonar-scanner
end
# 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