Skip to content

Commit 32d52a4

Browse files
author
Søren Trudsø Mahon
committed
Add global.json for .NET SDK version management and remove hardcoded version in setup
1 parent 337c29e commit 32d52a4

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/build.dotnet.testcontainers.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ jobs:
1616

1717
- name: Setup .NET
1818
uses: actions/setup-dotnet@v4
19-
with:
20-
dotnet-version: "8.0.x"
2119

2220
- name: Install .NET Aspire workload
2321
run: dotnet workload install aspire

.github/workflows/build.dotnet.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ jobs:
1919

2020
- name: Setup .NET
2121
uses: actions/setup-dotnet@v4
22-
with:
23-
dotnet-version: "8.0.x"
2422

2523
- name: Install .NET Aspire workload
2624
run: dotnet workload install aspire

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.0",
4+
"rollForward": "minor"
5+
}
6+
}

0 commit comments

Comments
 (0)