File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,26 +31,36 @@ jobs:
3131 submodules : recursive
3232 fetch-depth : 0
3333
34+ - name : ⚙ dotnet
35+ uses : actions/setup-dotnet@v1
36+ with :
37+ dotnet-version : ' 6.0.x'
38+
3439 - name : ✓ ensure format
3540 run : |
36- dotnet tool update -g dotnet-format --version 5.0.*
3741 dotnet restore
38- dotnet format --check -v:diag
42+ dotnet format --verify-no-changes -v:diag
3943
4044 build :
4145 name : build-${{ matrix.os }}
4246 needs : dotnet-format
4347 runs-on : ${{ matrix.os }}
4448 strategy :
4549 matrix :
46- os : [ubuntu-latest, windows -latest, macOS-latest]
50+ os : [windows-2022, ubuntu -latest, macOS-latest]
4751 steps :
4852 - name : 🤘 checkout
4953 uses : actions/checkout@v2
5054 with :
5155 submodules : recursive
5256 fetch-depth : 0
5357
58+ - name : ⚙ dotnet
59+ uses : actions/setup-dotnet@v1
60+ if : matrix.os != 'windows-2022'
61+ with :
62+ dotnet-version : ' 6.0.x'
63+
5464 - name : 🙏 build
5565 run : dotnet build -m:1 -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER"
5666
Original file line number Diff line number Diff line change 2020 with :
2121 submodules : recursive
2222 fetch-depth : 0
23-
23+
24+ - name : ⚙ dotnet
25+ uses : actions/setup-dotnet@v1
26+ with :
27+ dotnet-version : ' 6.0.x'
28+
2429 - name : 🙏 build
2530 run : dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v}
2631
Original file line number Diff line number Diff line change 1919 - name : 🏷 current
2020 run : echo "CURRENT_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
2121
22+ - name : ⚙ dotnet
23+ uses : actions/setup-dotnet@v1
24+ with :
25+ dotnet-version : ' 6.0.x'
26+
2227 - name : 🙏 build
2328 run : dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v}
2429
You can’t perform that action at this time.
0 commit comments