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