mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Correctly select dotnet platform on arm-based macs
This commit is contained in:
@@ -6,7 +6,11 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
dotnet_platform="linux-x64"
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
platform="osx64"
|
||||
dotnet_platform="osx-x64"
|
||||
if [[ $(uname -m) == 'arm64' ]]; then
|
||||
dotnet_platform="osx-arm64"
|
||||
else
|
||||
dotnet_platform="osx-x64"
|
||||
fi
|
||||
else
|
||||
echo "Unknown OS"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user