Skip to content

Commit 567b53b

Browse files
author
Warren Buckley
committed
Add .NET 6 & .NET6 to GitHub action workflows
1 parent 3a399fc commit 567b53b

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,15 @@ jobs:
4343
with:
4444
fetch-depth: 0
4545

46+
- name: Setup .NET
47+
uses: actions/setup-dotnet@v1
48+
with:
49+
dotnet-version: '5.0.x'
50+
4651
- name: Setup .NET
4752
uses: actions/setup-dotnet@v1
4853
with:
4954
dotnet-version: '6.0.x'
50-
include-prerelease: true
5155

5256
# Initializes the CodeQL tools for scanning.
5357
- name: Initialize CodeQL

.github/workflows/dotnet.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ jobs:
2121
with:
2222
fetch-depth: 0
2323

24+
- name: Setup .NET
25+
uses: actions/setup-dotnet@v1
26+
with:
27+
dotnet-version: '5.0.x'
28+
2429
- name: Setup .NET
2530
uses: actions/setup-dotnet@v1
2631
with:
2732
dotnet-version: '6.0.x'
28-
include-prerelease: true
2933

3034
- name: Restore dependencies
3135
run: dotnet restore

.github/workflows/release-nuget.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ jobs:
2121
with:
2222
fetch-depth: 0
2323

24+
- name: Setup .NET
25+
uses: actions/setup-dotnet@v1
26+
with:
27+
dotnet-version: '5.0.x'
28+
2429
- name: Setup .NET
2530
uses: actions/setup-dotnet@v1
2631
with:
2732
dotnet-version: '6.0.x'
28-
include-prerelease: true
2933

3034
- name: Restore dependencies
3135
run: dotnet restore

0 commit comments

Comments
 (0)