File tree 2 files changed +15
-5
lines changed
2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ branches:
68
68
required_pull_request_reviews : null
69
69
required_status_checks :
70
70
strict : false
71
- contexts : ['Build & Test']
71
+ contexts : ['Build & Test (Windows)', 'Build, Test & Pack (Linux) ']
72
72
enforce_admins : false
73
73
required_linear_history : false
74
74
restrictions : null
Original file line number Diff line number Diff line change 12
12
workflow_dispatch :
13
13
14
14
jobs :
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 : Run tests
23
+ run : dotnet test -c Release -p:CollectCoverage=false
24
+
25
+ build-linux :
26
+ name : Build, Test & Pack (Linux)
17
27
runs-on : ubuntu-22.04
18
28
steps :
19
29
- name : Checkout
73
83
74
84
github :
75
85
name : Deploy to GitHub
76
- needs : [build]
86
+ needs : [build-windows, build-linux ]
77
87
if : github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
78
88
runs-on : ubuntu-22.04
79
89
steps :
86
96
87
97
nuget :
88
98
name : Deploy to NuGet
89
- needs : [build]
99
+ needs : [build-windows, build-linux ]
90
100
if : startsWith(github.ref, 'refs/tags/v')
91
101
runs-on : ubuntu-22.04
92
102
steps :
You can’t perform that action at this time.
0 commit comments