File tree Expand file tree Collapse file tree 3 files changed +29
-8
lines changed
Expand file tree Collapse file tree 3 files changed +29
-8
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ branches:
6868 required_pull_request_reviews : null
6969 required_status_checks :
7070 strict : false
71- contexts : ['Build & Test']
71+ contexts : ['Build & Test (Windows)', 'Build, Test & Pack (Linux) ']
7272 enforce_admins : false
7373 required_linear_history : false
7474 restrictions : null
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ permissions:
1313jobs :
1414 automerge :
1515 name : Enable auto-merge
16- runs-on : ubuntu-22 .04
16+ runs-on : ubuntu-24 .04
1717 if : github.actor == 'phnx47-bot' && contains(github.event.pull_request.labels.*.name, 'sync')
1818 steps :
1919 - name : Checkout
Original file line number Diff line number Diff line change 1212 workflow_dispatch :
1313
1414jobs :
15- build :
16- name : Build & Test
15+ build-windows :
16+ name : Build & Test (Windows)
17+ runs-on : windows-2022
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v4
21+
22+ - name : Setup .NET
23+ uses : actions/setup-dotnet@v4
24+ with :
25+ dotnet-version : |
26+ 2.1.x
27+ 3.1.x
28+ 5.0.x
29+ 6.0.x
30+ 7.0.x
31+ 8.0.x
32+
33+ - name : Run tests
34+ run : dotnet test -c Release -p:CollectCoverage=false
35+
36+ build-linux :
37+ name : Build, Test & Pack (Linux)
1738 runs-on : ubuntu-22.04
1839 steps :
1940 - name : Checkout
7394
7495 github :
7596 name : Deploy to GitHub
76- needs : [build]
97+ needs : [build-windows, build-linux ]
7798 if : github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
78- runs-on : ubuntu-22 .04
99+ runs-on : ubuntu-24 .04
79100 steps :
80101 - name : Download artifacts
81102 uses : actions/download-artifact@v4
86107
87108 nuget :
88109 name : Deploy to NuGet
89- needs : [build]
110+ needs : [build-windows, build-linux ]
90111 if : startsWith(github.ref, 'refs/tags/v')
91- runs-on : ubuntu-22 .04
112+ runs-on : ubuntu-24 .04
92113 steps :
93114 - name : Download artifacts
94115 uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments