diff --git a/install-sonar-scanner-cli.sh b/install-sonar-scanner-cli.sh index 57e458a..c4eac62 100755 --- a/install-sonar-scanner-cli.sh +++ b/install-sonar-scanner-cli.sh @@ -8,7 +8,7 @@ set -eou pipefail # - INPUT_SCANNERVERSION: e.g. 6.2.1.4610 # - INPUT_SCANNERBINARIESURL: e.g. https://github.com/me/my-repo/raw/refs/heads/main/binaries -if [[ "$RUNNER_OS" == "Linux" && "$RUNNER_ARCH" == "AMD64" ]]; then +if [[ "$RUNNER_OS" == "Linux" && "$RUNNER_ARCH" == "amd64" ]]; then FLAVOR="linux-x64" elif [[ "$RUNNER_OS" == "Linux" && "$RUNNER_ARCH" == "ARM64" ]]; then FLAVOR="linux-aarch64"