generated from Templates/Baseline
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/pr/next Pipeline was successful
13 lines
380 B
Bash
13 lines
380 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
echo "**** downloading latest install script ****"
|
|
curl -fsSL https://dot.net/v1/dotnet-install.sh -o /tmp/dotnet-install.sh
|
|
chmod +x /tmp/dotnet-install.sh
|
|
|
|
echo "**** installing latest .NET Core LTS release ****"
|
|
/tmp/dotnet-install.sh --channel LTS
|
|
echo 'export PATH=$PATH:/config/.dotnet' | sudo tee -a /etc/bash.bashrc > /dev/null
|
|
|
|
echo "**** done. ****"
|