File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed
Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,15 @@ jobs:
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - uses : actions/checkout@v3
15+ - uses : actions/checkout@v4
1616 - name : Setup .NET
17- uses : actions/setup-dotnet@v3
17+ uses : actions/setup-dotnet@v4
1818 with :
19- dotnet-version : 6.0.x
20- - name : Restore dependencies
21- run : dotnet restore
19+ dotnet-version : 9.0.x
20+ - name : Info
21+ run : |
22+ dotnet tool update -g dotnet-execute
23+ export PATH="$PATH:$HOME/.dotnet/tools"
24+ dotnet-exec info
2225 - name : Build
23- run : dotnet build --no-restore
26+ run : dotnet build
Original file line number Diff line number Diff line change @@ -29,10 +29,13 @@ steps:
2929 displayName : ' Use .NET sdk'
3030 inputs :
3131 packageType : sdk
32- version : 8 .0.x
32+ version : 9 .0.x
3333 includePreviewVersions : true
3434
35- - script : dotnet --info
35+ - script : |
36+ dotnet tool update -g dotnet-execute
37+ export PATH="$PATH:$HOME/.dotnet/tools"
38+ dotnet-exec info
3639 displayName : ' dotnet info'
3740
3841- script : dotnet build -c Release
You can’t perform that action at this time.
0 commit comments