File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 os : [ubuntu-latest,windows-latest,macos-latest]
99 runs-on : ${{ matrix.os }}
1010 steps :
11- - uses : actions/checkout@v2
12- - name : Setup .NET SDK - 6.0.x
13- uses : actions/setup-dotnet@v1
11+ - uses : actions/checkout@v3
12+ - uses : actions/setup-dotnet@v3
1413 with :
15- dotnet-version : ' 6.0.x'
16- - name : Setup .NET SDK - 5.0.x
17- uses : actions/setup-dotnet@v1
18- with :
19- dotnet-version : ' 5.0.x'
20- - name : Setup .NET SDK - 3.1.x
21- uses : actions/setup-dotnet@v1
22- with :
23- dotnet-version : ' 3.1.x'
14+ dotnet-version : |
15+ 6.0.x
16+ 7.0.x
2417 - name : Install dependencies
2518 run : dotnet restore
2619 - name : Build
2720 run : dotnet build --no-restore --configuration Release
2821 - name : Test
2922 run : dotnet test --no-restore --no-build --configuration Release --logger trx --results-directory "TestResults"
3023 - name : Upload test results
31- uses : actions/upload-artifact@v2
24+ uses : actions/upload-artifact@v3
3225 with :
3326 name : TestResults
3427 path : TestResults
3730 - name : Pack
3831 run : dotnet pack --no-restore --no-build --configuration Release --version-suffix CI-${{ github.run_id }} --output pkg
3932 - name : Upload package
40- uses : actions/upload-artifact@v2
33+ uses : actions/upload-artifact@v3
4134 with :
4235 name : LibDeflate-${{ matrix.os }}
4336 path : pkg/*
You can’t perform that action at this time.
0 commit comments