Skip to content

Commit 63223f7

Browse files
committed
Update CI to use .NET 10.0 preview only
The CI workflow now targets only net10.0 and sets DOTNET_QUALITY to 'preview'. Added steps to restore .NET workloads and updated setup-dotnet action configuration for preview builds.
1 parent a84f2f7 commit 63223f7

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ on:
88

99
env:
1010
DOTNET_VERSION: '10.0.x'
11+
DOTNET_QUALITY: 'preview'
1112

1213
jobs:
1314
build:
1415
runs-on: ubuntu-latest
1516

1617
strategy:
1718
matrix:
18-
framework: [net6.0, net7.0, net8.0, net9.0, net10.0]
19+
framework: [net10.0]
1920

2021
steps:
2122
- name: Checkout code
@@ -25,6 +26,10 @@ jobs:
2526
uses: actions/setup-dotnet@v5
2627
with:
2728
dotnet-version: ${{ env.DOTNET_VERSION }}
29+
dotnet-quality: ${{ env.DOTNET_QUALITY }}
30+
31+
- name: Restore .NET workloads
32+
run: dotnet workload restore
2833

2934
- name: Restore dependencies
3035
run: dotnet restore

0 commit comments

Comments
 (0)