From 7c29c5b1c922ee46be3f2695e70dc9e3d907951f Mon Sep 17 00:00:00 2001 From: Milorad Jovanovic Date: Wed, 11 Dec 2024 11:13:46 +0100 Subject: [PATCH] OCMP-0 testing --- install-sonar-scanner-cli.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-sonar-scanner-cli.sh b/install-sonar-scanner-cli.sh index c4eac62..e742a61 100755 --- a/install-sonar-scanner-cli.sh +++ b/install-sonar-scanner-cli.sh @@ -8,6 +8,9 @@ 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 +echo "::info title=SonarScanner os: $RUNNER_OS arch: $RUNNER_ARCH" + + if [[ "$RUNNER_OS" == "Linux" && "$RUNNER_ARCH" == "amd64" ]]; then FLAVOR="linux-x64" elif [[ "$RUNNER_OS" == "Linux" && "$RUNNER_ARCH" == "ARM64" ]]; then