File tree Expand file tree Collapse file tree 3 files changed +27
-16
lines changed
Expand file tree Collapse file tree 3 files changed +27
-16
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ branches:
6161 required_pull_request_reviews : null
6262 required_status_checks :
6363 strict : false
64- contexts : ['Build & Test (Windows)', 'Build , Test & Pack (Linux)']
64+ contexts : ['Build, Test & Pack (Linux)']
6565 enforce_admins : false
6666 required_linear_history : false
6767 restrictions : null
Original file line number Diff line number Diff line change 1- name : CI
1+ name : CI Linux
22
33on :
44 push :
1212 workflow_dispatch :
1313
1414jobs :
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-
2515 build-linux :
2616 name : Build, Test & Pack (Linux)
2717 runs-on : ubuntu-24.04
4232 run : dotnet build -c Release -p:ContinuousIntegrationBuild=true
4333
4434 - 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
4636
4737 - name : Publish to Codecov
4838 uses : codecov/codecov-action@v5
7666
7767 github :
7868 name : Deploy to GitHub
79- needs : [build-windows, build- linux]
69+ needs : [build-linux]
8070 if : github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
8171 runs-on : ubuntu-24.04
8272 steps :
@@ -85,11 +75,11 @@ jobs:
8575 with :
8676 name : nupkgs
8777 - 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
8979
9080 nuget :
9181 name : Deploy to NuGet
92- needs : [build-windows, build- linux]
82+ needs : [build-linux]
9383 if : startsWith(github.ref, 'refs/tags/v')
9484 runs-on : ubuntu-24.04
9585 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