File tree 3 files changed +27
-16
lines changed
3 files changed +27
-16
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ branches:
61
61
required_pull_request_reviews : null
62
62
required_status_checks :
63
63
strict : false
64
- contexts : ['Build & Test (Windows)', 'Build , Test & Pack (Linux)']
64
+ contexts : ['Build, Test & Pack (Linux)']
65
65
enforce_admins : false
66
66
required_linear_history : false
67
67
restrictions : null
Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : CI Linux
2
2
3
3
on :
4
4
push :
12
12
workflow_dispatch :
13
13
14
14
jobs :
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 --filter FullyQualifiedName\!~Tests.Integration -p:CollectCoverage=false
24
-
25
15
build-linux :
26
16
name : Build, Test & Pack (Linux)
27
17
runs-on : ubuntu-24.04
42
32
run : dotnet build -c Release -p:ContinuousIntegrationBuild=true
43
33
44
34
- name : Run tests
45
- run : dotnet test --no-build -c Release --filter FullyQualifiedName\!~Tests.Integration - p:CollectCoverage=true -e:CoverletOutputFormat=opencover
35
+ run : dotnet test --no-build -c Release -p:CollectCoverage=true -e:CoverletOutputFormat=opencover
46
36
47
37
- name : Publish to Codecov
48
38
uses : codecov/codecov-action@v5
76
66
77
67
github :
78
68
name : Deploy to GitHub
79
- needs : [build-windows, build- linux]
69
+ needs : [build-linux]
80
70
if : github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
81
71
runs-on : ubuntu-24.04
82
72
steps :
@@ -85,11 +75,11 @@ jobs:
85
75
with :
86
76
name : nupkgs
87
77
- name : Push to pkg.github.com
88
- run : dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }}
78
+ run : dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate
89
79
90
80
nuget :
91
81
name : Deploy to NuGet
92
- needs : [build-windows, build- linux]
82
+ needs : [build-linux]
93
83
if : startsWith(github.ref, 'refs/tags/v')
94
84
runs-on : ubuntu-24.04
95
85
steps :
Original file line number Diff line number Diff line change
1
+ name : CI Windows
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - " main"
7
+ pull_request :
8
+ branches :
9
+ - " main"
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ build-windows :
14
+ name : Build & Test (Windows)
15
+ runs-on : windows-2022
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Run tests
21
+ run : dotnet test -c Release -p:CollectCoverage=false
You can’t perform that action at this time.
0 commit comments