File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,27 @@ skip_tags: true
5
5
image :
6
6
- Visual Studio 2022
7
7
- Ubuntu
8
+ - macOS
8
9
9
10
build_script :
10
- - pwsh : ./Build.ps1
11
+ - pwsh : |
12
+ if ($isWindows) {
13
+ Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./dotnet-install.ps1"
14
+ ./dotnet-install.ps1 -JSonFile global.json -Architecture x64 -InstallDir 'C:\Program Files\dotnet'
15
+ ./Build.ps1
16
+ }
17
+ if ($isLinux) {
18
+ Invoke-WebRequest "https://dot.net/v1/dotnet-install.sh" -OutFile "./dotnet-install.sh"
19
+ sudo chmod u+x dotnet-install.sh
20
+ sudo ./dotnet-install.sh --jsonfile global.json --architecture x64 --install-dir '/usr/share/dotnet'
21
+ ./Build.ps1
22
+ }
23
+ if ($isMacOS) {
24
+ Invoke-WebRequest "https://dot.net/v1/dotnet-install.sh" -OutFile "./dotnet-install.sh"
25
+ sudo chmod u+x dotnet-install.sh
26
+ sudo ./dotnet-install.sh --jsonfile global.json --architecture x64 --install-dir '/usr/local/share/dotnet'
27
+ ./Build.ps1
28
+ }
11
29
12
30
test : off
13
31
Original file line number Diff line number Diff line change 1
1
{
2
2
"sdk" : {
3
- "version" : " 7.0.102 " ,
3
+ "version" : " 7.0.201 " ,
4
4
"allowPrerelease" : false ,
5
5
"rollForward" : " latestFeature"
6
6
}
You can’t perform that action at this time.
0 commit comments