File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version $2 --no-cdn --install-dir $HELIX_CORRELATION_PAYLOAD /sdk
3- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --runtime dotnet --version $3 --no-cdn --install-dir $HELIX_CORRELATION_PAYLOAD /sdk
2+ curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version $2 --install-dir $HELIX_CORRELATION_PAYLOAD /sdk
3+ if [ $retVal -ne 0 ]; then
4+ curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version $2 --install-dir $HELIX_CORRELATION_PAYLOAD /sdk
5+ fi
6+ curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --runtime dotnet --version $3 --install-dir $HELIX_CORRELATION_PAYLOAD /sdk
7+ if [ $retVal -ne 0 ]; then
8+ curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --runtime dotnet --version $3 --install-dir $HELIX_CORRELATION_PAYLOAD /sdk
9+ fi
10+
411export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
512
613# Ensures every invocation of dotnet apps uses the same dotnet.exe
You can’t perform that action at this time.
0 commit comments