Skip to content

Commit

Permalink
Remove NET 6.0 from GitHub Actions (#5083)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma authored Jan 7, 2025
1 parent 8369a99 commit 805f512
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0
8.0
9.0
- uses: actions/checkout@v4
- name: 'Run: Compile, Test, Pack, Publish'
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0
8.0
9.0
- uses: actions/checkout@v4
- name: 'Run: Compile, Test, Pack, Publish'
Expand All @@ -97,7 +97,7 @@ jobs:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0
8.0
9.0
- uses: actions/checkout@v4
- name: 'Run: Compile, Test, Pack, Publish'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0
8.0
9.0
- uses: actions/checkout@v4
- name: 'Run: Compile, Test, Pack'
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0
8.0
9.0
- uses: actions/checkout@v4
- name: 'Run: Compile, Test, Pack'
Expand All @@ -89,7 +89,7 @@ jobs:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0
8.0
9.0
- uses: actions/checkout@v4
- name: 'Run: Compile, Test, Pack'
Expand Down
3 changes: 1 addition & 2 deletions build/Build.CI.GitHubActions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ protected override GitHubActionsJob GetJobs(GitHubActionsImage image, IReadOnlyC

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

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

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

0 comments on commit 805f512

Please sign in to comment.