Skip to content

Commit 805f512

Browse files
authored
Remove NET 6.0 from GitHub Actions (#5083)
1 parent 8369a99 commit 805f512

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

Diff for: .github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- uses: actions/setup-dotnet@v4
4444
with:
4545
dotnet-version: |
46-
6.0
46+
8.0
4747
9.0
4848
- uses: actions/checkout@v4
4949
- name: 'Run: Compile, Test, Pack, Publish'
@@ -80,7 +80,7 @@ jobs:
8080
- uses: actions/setup-dotnet@v4
8181
with:
8282
dotnet-version: |
83-
6.0
83+
8.0
8484
9.0
8585
- uses: actions/checkout@v4
8686
- name: 'Run: Compile, Test, Pack, Publish'
@@ -97,7 +97,7 @@ jobs:
9797
- uses: actions/setup-dotnet@v4
9898
with:
9999
dotnet-version: |
100-
6.0
100+
8.0
101101
9.0
102102
- uses: actions/checkout@v4
103103
- name: 'Run: Compile, Test, Pack, Publish'

Diff for: .github/workflows/pr.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- uses: actions/setup-dotnet@v4
4646
with:
4747
dotnet-version: |
48-
6.0
48+
8.0
4949
9.0
5050
- uses: actions/checkout@v4
5151
- name: 'Run: Compile, Test, Pack'
@@ -77,7 +77,7 @@ jobs:
7777
- uses: actions/setup-dotnet@v4
7878
with:
7979
dotnet-version: |
80-
6.0
80+
8.0
8181
9.0
8282
- uses: actions/checkout@v4
8383
- name: 'Run: Compile, Test, Pack'
@@ -89,7 +89,7 @@ jobs:
8989
- uses: actions/setup-dotnet@v4
9090
with:
9191
dotnet-version: |
92-
6.0
92+
8.0
9393
9.0
9494
- uses: actions/checkout@v4
9595
- name: 'Run: Compile, Test, Pack'

Diff for: build/Build.CI.GitHubActions.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ protected override GitHubActionsJob GetJobs(GitHubActionsImage image, IReadOnlyC
4646

4747
var newSteps = new List<GitHubActionsStep>(job.Steps);
4848

49-
// only need to list the ones that are missing from default image
50-
newSteps.Insert(0, new GitHubActionsSetupDotNetStep(["6.0", "9.0"]));
49+
newSteps.Insert(0, new GitHubActionsSetupDotNetStep(["8.0", "9.0"]));
5150

5251
var onWindows = image.ToString().StartsWith("windows", StringComparison.OrdinalIgnoreCase);
5352
if (onWindows)

0 commit comments

Comments
 (0)