diff --git a/install-sonar-scanner-cli.sh b/install-sonar-scanner-cli.sh index e742a61..6692675 100755 --- a/install-sonar-scanner-cli.sh +++ b/install-sonar-scanner-cli.sh @@ -11,8 +11,10 @@ set -eou pipefail echo "::info title=SonarScanner os: $RUNNER_OS arch: $RUNNER_ARCH" -if [[ "$RUNNER_OS" == "Linux" && "$RUNNER_ARCH" == "amd64" ]]; then - FLAVOR="linux-x64" +if [[ "$RUNNER_OS" == "Linux" && "$RUNNER_ARCH" == "X64" ]]; then + FLAVOR="linux-x64" +elif [[ "$RUNNER_OS" == "linux" && "$RUNNER_ARCH" == "amd64" ]]; then + FLAVOR="linux-x64" elif [[ "$RUNNER_OS" == "Linux" && "$RUNNER_ARCH" == "ARM64" ]]; then FLAVOR="linux-aarch64" elif [[ "$RUNNER_OS" == "Windows" && "$RUNNER_ARCH" == "X64" ]]; then