OCMP-0 add

This commit is contained in:
Milorad Jovanovic 2024-12-11 11:17:23 +01:00
parent 7c29c5b1c9
commit f3a8207ad1

View File

@ -11,7 +11,9 @@ set -eou pipefail
echo "::info title=SonarScanner os: $RUNNER_OS arch: $RUNNER_ARCH" echo "::info title=SonarScanner os: $RUNNER_OS arch: $RUNNER_ARCH"
if [[ "$RUNNER_OS" == "Linux" && "$RUNNER_ARCH" == "amd64" ]]; then if [[ "$RUNNER_OS" == "Linux" && "$RUNNER_ARCH" == "X64" ]]; then
FLAVOR="linux-x64"
elif [[ "$RUNNER_OS" == "linux" && "$RUNNER_ARCH" == "amd64" ]]; then
FLAVOR="linux-x64" FLAVOR="linux-x64"
elif [[ "$RUNNER_OS" == "Linux" && "$RUNNER_ARCH" == "ARM64" ]]; then elif [[ "$RUNNER_OS" == "Linux" && "$RUNNER_ARCH" == "ARM64" ]]; then
FLAVOR="linux-aarch64" FLAVOR="linux-aarch64"