Quantcast
Channel: Recent Gists from badsyntax
Viewing all articles
Browse latest Browse all 31

Azure pipelines install dotnet on mac mini arm64

$
0
0
azure-pipelines.yml
steps:
- script: |
DOTNET_VERSION="6.0.1xx"
DOTNET_TEMP_DIRECTORY=$(cat /dev/urandom | env LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
DOTNET_INSTALL_LOCATION="$(Agent.TempDirectory)/$DOTNET_TEMP_DIRECTORY"
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --architecture arm64 --channel "$DOTNET_VERSION" --install-dir "$DOTNET_INSTALL_LOCATION"
PATH="$PATH:$DOTNET_INSTALL_LOCATION"
echo "##vso[task.setvariable variable=PATH;]$PATH"
displayName: Install .NET 6.0 SDK

Viewing all articles
Browse latest Browse all 31

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>