File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 runs-on : windows-latest
77 steps :
88 - uses : actions/checkout@v4
9+ - uses : actions/setup-dotnet@v4
10+ with :
11+ global-json-file : global.json
912 - name : Run MarkdownSnippets
1013 run : |
1114 dotnet tool install --global MarkdownSnippets.Tool
File renamed without changes.
Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ build_script:
1111- pwsh : |
1212 if ($isWindows) {
1313 Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./dotnet-install.ps1"
14- ./dotnet-install.ps1 -JSonFile src/ global.json -Architecture x64 -InstallDir 'C:\Program Files\dotnet'
14+ ./dotnet-install.ps1 -JSonFile global.json -Architecture x64 -InstallDir 'C:\Program Files\dotnet'
1515 }
1616 else {
1717 Invoke-WebRequest "https://dot.net/v1/dotnet-install.sh" -OutFile "./dotnet-install.sh"
1818 sudo chmod u+x dotnet-install.sh
1919 if ($isMacOS) {
20- sudo ./dotnet-install.sh --jsonfile src/ global.json --architecture x64 --install-dir '/usr/local/share/dotnet'
20+ sudo ./dotnet-install.sh --jsonfile global.json --architecture x64 --install-dir '/usr/local/share/dotnet'
2121 } else {
22- sudo ./dotnet-install.sh --jsonfile src/ global.json --architecture x64 --install-dir '/usr/share/dotnet'
22+ sudo ./dotnet-install.sh --jsonfile global.json --architecture x64 --install-dir '/usr/share/dotnet'
2323 }
2424 }
2525 - dotnet build src --configuration Release
You can’t perform that action at this time.
0 commit comments