Skip to content

Commit 042ad56

Browse files
author
Alex Peck
committed
different build leg
1 parent 21b28b8 commit 042ad56

File tree

1 file changed

+28
-10
lines changed

1 file changed

+28
-10
lines changed

.github/workflows/gate.yml

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ jobs:
2222
with:
2323
dotnet-version: |
2424
3.1.x
25-
6.0.x
26-
8.0.x
27-
9.0.x
25+
2826
- name: Install dependencies
2927
run: dotnet restore
3028
- name: Build
@@ -55,6 +53,32 @@ jobs:
5553
flag-name: win3
5654
parallel: true
5755

56+
- name: Publish NuGet artifacts
57+
uses: actions/upload-artifact@v4
58+
with:
59+
name: NuGet package
60+
path: BitFaster.Caching/bin/Release/
61+
win2:
62+
63+
runs-on: windows-latest
64+
65+
permissions:
66+
checks: write
67+
68+
steps:
69+
- uses: actions/checkout@v4
70+
- name: Setup .NET Core
71+
uses: actions/setup-dotnet@v4
72+
with:
73+
dotnet-version: |
74+
6.0.x
75+
8.0.x
76+
9.0.x
77+
- name: Install dependencies
78+
run: dotnet restore
79+
- name: Build
80+
run: dotnet build --configuration Release --no-restore
81+
5882
- name: Test (6.0)
5983
run: dotnet test --no-restore --verbosity normal -f net6.0 /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov --logger "trx;LogFileName=results6.trx"
6084
- name: Upload test results (6.0)
@@ -93,12 +117,6 @@ jobs:
93117
flag-name: win9
94118
parallel: true
95119

96-
- name: Publish NuGet artifacts
97-
uses: actions/upload-artifact@v4
98-
with:
99-
name: NuGet package
100-
path: BitFaster.Caching/bin/Release/
101-
102120
mac:
103121

104122
runs-on: macos-latest
@@ -185,7 +203,7 @@ jobs:
185203

186204
coverage:
187205

188-
needs: [win, mac, linux]
206+
needs: [win, win2, mac, linux]
189207

190208
runs-on: ubuntu-latest
191209

0 commit comments

Comments
 (0)