Skip to content

Commit 47072be

Browse files
committed
ci: install .NET 8 SDK in CI and builds
1 parent 3c1406e commit 47072be

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

.github/workflows/codeql-analysis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626

27+
- name: Setup .NET
28+
uses: actions/[email protected]
29+
with:
30+
dotnet-version: 8.0.x
31+
2732
# Initializes the CodeQL tools for scanning.
2833
- name: Initialize CodeQL
2934
uses: github/codeql-action/init@v2

.github/workflows/continuous-integration.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup .NET
2222
uses: actions/[email protected]
2323
with:
24-
dotnet-version: 6.0.201
24+
dotnet-version: 8.0.x
2525

2626
- name: Install dependencies
2727
run: dotnet restore
@@ -61,7 +61,7 @@ jobs:
6161
- name: Setup .NET
6262
uses: actions/[email protected]
6363
with:
64-
dotnet-version: 6.0.201
64+
dotnet-version: 8.0.x
6565

6666
- name: Install dependencies
6767
run: dotnet restore
@@ -102,7 +102,7 @@ jobs:
102102
- name: Setup .NET
103103
uses: actions/[email protected]
104104
with:
105-
dotnet-version: 6.0.201
105+
dotnet-version: 8.0.x
106106

107107
- name: Install dependencies
108108
run: dotnet restore

.github/workflows/release.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Set up .NET
3838
uses: actions/[email protected]
3939
with:
40-
dotnet-version: 7.0.x
40+
dotnet-version: 8.0.x
4141

4242
- name: Build
4343
run: |
@@ -152,7 +152,7 @@ jobs:
152152
- name: Set up .NET
153153
uses: actions/[email protected]
154154
with:
155-
dotnet-version: 7.0.x
155+
dotnet-version: 8.0.x
156156

157157
- name: Build
158158
run: |
@@ -192,7 +192,7 @@ jobs:
192192
- name: Set up .NET
193193
uses: actions/[email protected]
194194
with:
195-
dotnet-version: 7.0.x
195+
dotnet-version: 8.0.x
196196

197197
- name: Build with signed payload
198198
run: |
@@ -238,7 +238,7 @@ jobs:
238238
- name: Set up .NET
239239
uses: actions/[email protected]
240240
with:
241-
dotnet-version: 7.0.x
241+
dotnet-version: 8.0.x
242242

243243
- name: Build
244244
run: dotnet build --configuration=LinuxRelease
@@ -316,7 +316,7 @@ jobs:
316316
- name: Set up .NET
317317
uses: actions/[email protected]
318318
with:
319-
dotnet-version: 7.0.x
319+
dotnet-version: 8.0.x
320320

321321
- name: Build .NET tool
322322
run: |
@@ -410,7 +410,7 @@ jobs:
410410
- name: Set up .NET
411411
uses: actions/[email protected]
412412
with:
413-
dotnet-version: 7.0.x
413+
dotnet-version: 8.0.x
414414

415415
- name: Package tool
416416
run: |
@@ -523,7 +523,7 @@ jobs:
523523
- name: Set up .NET
524524
uses: actions/[email protected]
525525
with:
526-
dotnet-version: 7.0.x
526+
dotnet-version: 8.0.x
527527

528528
- name: Download artifacts
529529
uses: actions/download-artifact@v3
@@ -593,7 +593,7 @@ jobs:
593593
- name: Set up .NET
594594
uses: actions/[email protected]
595595
with:
596-
dotnet-version: 7.0.x
596+
dotnet-version: 8.0.x
597597

598598
- name: Download artifacts
599599
uses: actions/download-artifact@v3

0 commit comments

Comments
 (0)