Skip to content

Commit 52f12b8

Browse files
Try dotnet 8
1 parent 21e8e29 commit 52f12b8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/dotnet-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
vs-version:
1010
required: true
1111
type: string
12+
dotnet-version:
13+
required: true
14+
type: string
1215

1316
jobs:
1417
test:
@@ -20,13 +23,16 @@ jobs:
2023
- name: Setup .NET
2124
uses: actions/setup-dotnet@v4
2225
with:
23-
dotnet-version: 10.0.x
26+
dotnet-version: ${{ inputs.dotnet-version }}
2427

2528
- name: Add msbuild to PATH
2629
uses: microsoft/setup-msbuild@v2
2730
with:
2831
vs-version: ${{ inputs.vs-version }}
2932

33+
- name: Log MSBuild version
34+
run: msbuild -version
35+
3036
- name: Build
3137
run: dotnet build DotNetBuildable.slnf /p:Configuration=Release
3238

.github/workflows/dotnet.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,11 @@ jobs:
8181
with:
8282
runs-on: windows-2022
8383
vs-version: '[17.0,18.0)'
84+
dotnet-version: 8.0.x
8485

8586
test-vs2026:
8687
uses: ./.github/workflows/dotnet-tests.yml
8788
with:
8889
runs-on: windows-2025-vs2026
8990
vs-version: '[18.0,)'
91+
dotnet-version: 10.0.x

0 commit comments

Comments
 (0)