@@ -17,20 +17,20 @@ jobs:
17
17
displayName : Ubuntu Agent
18
18
condition : succeeded()
19
19
pool :
20
- name : Hosted Ubuntu 1604
20
+ vmImage : ' ubuntu-18.04 '
21
21
steps :
22
22
- bash : " curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -version 3.1.102"
23
23
displayName : " Install 3.0.100"
24
24
25
- - bash : " curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -version 2.1.402"
26
- displayName : " Install 2.1.402"
27
-
28
25
- bash : " curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -version 5.0.100"
29
26
displayName : " 5.0.100"
30
27
28
+ - bash : " curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -version 6.0.100"
29
+ displayName : " 6.0.100"
30
+
31
31
- bash : |
32
32
export PATH=/home/vsts/.dotnet:$PATH
33
- curl -L https://github.com/filipw/dotnet-script/releases/download/0.28.0 /dotnet-script.0.28.0 .zip > dotnet-script.zip
33
+ curl -L https://github.com/filipw/dotnet-script/releases/download/1.2.1 /dotnet-script.1.2.1 .zip > dotnet-script.zip
34
34
unzip -o dotnet-script.zip -d ./
35
35
displayName: "Install dotnet-script"
36
36
54
54
displayName: "Install 5.0.100"
55
55
56
56
- bash : |
57
- curl -L https://github.com/filipw/dotnet-script/releases/download/0.28.0/dotnet-script.0.28.0.zip > dotnet-script.zip
57
+ curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -version 6.0.100
58
+ displayName: "Install 6.0.100"
59
+
60
+ - bash : |
61
+ curl -L https://github.com/filipw/dotnet-script/releases/download/1.2.1/dotnet-script.1.2.1.zip > dotnet-script.zip
58
62
unzip -o dotnet-script.zip -d ./
59
63
displayName: "Install dotnet-script"
60
64
@@ -75,15 +79,15 @@ jobs:
75
79
76
80
- powershell : |
77
81
iwr https://raw.githubusercontent.com/dotnet/cli/release/2.1.3xx/scripts/obtain/dotnet-install.ps1 -outfile dotnet-install.ps1
78
- .\dotnet-install.ps1 -Version 2.1.402
82
+ .\dotnet-install.ps1 -Version 5.0.100
79
83
80
- displayName: "Install 2.1.402 SDK "
84
+ displayName: "Install 5.0.100 "
81
85
82
86
- powershell : |
83
87
iwr https://raw.githubusercontent.com/dotnet/cli/release/2.1.3xx/scripts/obtain/dotnet-install.ps1 -outfile dotnet-install.ps1
84
- .\dotnet-install.ps1 -Version 5 .0.100
88
+ .\dotnet-install.ps1 -Version 6 .0.100
85
89
86
- displayName: "Install 5 .0.100"
90
+ displayName: "Install 6 .0.100"
87
91
88
92
# NuGet Tool Installer
89
93
# Acquires a specific version of NuGet from the internet or the tools cache and adds it to the PATH. Use this task to change the version of NuGet used in the NuGet tasks.
@@ -101,7 +105,7 @@ jobs:
101
105
- bash : |
102
106
export PATH=/c/Users/VssAdministrator/AppData/Local/Microsoft/dotnet:$PATH
103
107
cd build
104
- curl -L https://github.com/filipw/dotnet-script/releases/download/0.28.0 /dotnet-script.0.28.0 .zip > dotnet-script.zip
108
+ curl -L https://github.com/filipw/dotnet-script/releases/download/1.2.1 /dotnet-script.1.2.1 .zip > dotnet-script.zip
105
109
unzip -o dotnet-script.zip -d ./
106
110
displayName: "Install dotnet-script"
107
111
0 commit comments