Skip to content

Commit abcd1f5

Browse files
committed
Pin .NET 8 SDK and narrow supported-tfms builds
1 parent 97c4c8b commit abcd1f5

3 files changed

Lines changed: 24 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- uses: actions/setup-dotnet@v4
3939
with:
40-
dotnet-version: '8.0.x'
40+
dotnet-version: '8.0.408'
4141

4242
- name: Bootstrap local dependency feed (Windows)
4343
if: runner.os == 'Windows'
@@ -56,7 +56,11 @@ jobs:
5656
shell: pwsh
5757
run: |
5858
if ('${{ matrix.tfm }}' -eq 'net8.0') {
59-
dotnet build KeelMatrix.QueryWatch.sln -c Release --no-restore -f net8.0
59+
dotnet build ./src/KeelMatrix.QueryWatch/KeelMatrix.QueryWatch.csproj -c Release --no-restore -f net8.0
60+
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
61+
dotnet build ./src/KeelMatrix.QueryWatch.Contracts/KeelMatrix.QueryWatch.Contracts.csproj -c Release --no-restore -f net8.0
62+
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
63+
dotnet build ./src/KeelMatrix.QueryWatch.EfCore/KeelMatrix.QueryWatch.EfCore.csproj -c Release --no-restore -f net8.0
6064
exit $LASTEXITCODE
6165
}
6266
@@ -97,7 +101,7 @@ jobs:
97101

98102
- uses: actions/setup-dotnet@v4
99103
with:
100-
dotnet-version: '8.0.x'
104+
dotnet-version: '8.0.408'
101105

102106
- name: Bootstrap local dependency feed (Windows)
103107
if: runner.os == 'Windows'
@@ -144,7 +148,7 @@ jobs:
144148

145149
- uses: actions/setup-dotnet@v4
146150
with:
147-
dotnet-version: '8.0.x'
151+
dotnet-version: '8.0.408'
148152

149153
- name: Bootstrap local dependency feed
150154
shell: bash

.github/workflows/ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Set up .NET
3737
uses: actions/setup-dotnet@v4
3838
with:
39-
dotnet-version: '8.0.x'
39+
dotnet-version: '8.0.408'
4040
- name: Bootstrap local dependency feed (Windows)
4141
if: runner.os == 'Windows'
4242
shell: pwsh
@@ -51,7 +51,11 @@ jobs:
5151
shell: pwsh
5252
run: |
5353
if ('${{ matrix.tfm }}' -eq 'net8.0') {
54-
dotnet build KeelMatrix.QueryWatch.sln --configuration Release --no-restore -f net8.0
54+
dotnet build ./src/KeelMatrix.QueryWatch/KeelMatrix.QueryWatch.csproj --configuration Release --no-restore -f net8.0
55+
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
56+
dotnet build ./src/KeelMatrix.QueryWatch.Contracts/KeelMatrix.QueryWatch.Contracts.csproj --configuration Release --no-restore -f net8.0
57+
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
58+
dotnet build ./src/KeelMatrix.QueryWatch.EfCore/KeelMatrix.QueryWatch.EfCore.csproj --configuration Release --no-restore -f net8.0
5559
exit $LASTEXITCODE
5660
}
5761
@@ -87,7 +91,7 @@ jobs:
8791
- name: Set up .NET
8892
uses: actions/setup-dotnet@v4
8993
with:
90-
dotnet-version: '8.0.x'
94+
dotnet-version: '8.0.408'
9195
- name: Bootstrap local dependency feed (Windows)
9296
if: runner.os == 'Windows'
9397
shell: pwsh
@@ -129,7 +133,7 @@ jobs:
129133
- name: Set up .NET
130134
uses: actions/setup-dotnet@v4
131135
with:
132-
dotnet-version: '8.0.x'
136+
dotnet-version: '8.0.408'
133137
- name: Bootstrap local dependency feed
134138
shell: bash
135139
run: bash build/Dev-PackInstallSamples.sh
@@ -164,7 +168,7 @@ jobs:
164168
- name: Set up .NET
165169
uses: actions/setup-dotnet@v4
166170
with:
167-
dotnet-version: '8.0.x'
171+
dotnet-version: '8.0.408'
168172
- name: Bootstrap local dependency feed
169173
shell: bash
170174
run: bash build/Dev-PackInstallSamples.sh
@@ -232,7 +236,7 @@ jobs:
232236
repository: KeelMatrix/Telemetry
233237
path: _deps/KeelMatrix.Telemetry/app
234238
- uses: actions/setup-dotnet@v4
235-
with: { dotnet-version: '8.0.x' }
239+
with: { dotnet-version: '8.0.408' }
236240
- name: Bootstrap local dependency feed
237241
shell: pwsh
238242
run: pwsh -NoProfile -File build/Dev-PackInstallSamples.ps1

global.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sdk": {
3+
"version": "8.0.408",
4+
"rollForward": "latestFeature"
5+
}
6+
}

0 commit comments

Comments
 (0)