From f3a8207ad183740a435115ab9c74bf907d372900 Mon Sep 17 00:00:00 2001 From: Milorad Jovanovic Date: Wed, 11 Dec 2024 11:17:23 +0100 Subject: [PATCH] OCMP-0 add --- install-sonar-scanner-cli.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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