Skip to content

Commit cd94a7f

Browse files
committed
ci(gh-actions): install .NET 11 SDK on CI/CD
1 parent 38b4831 commit cd94a7f

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
- name: Setup .NET SDK
2626
uses: actions/setup-dotnet@v5.2.0
2727
with:
28-
dotnet-version: ${{ vars.DOTNET_SDK_VERSIONS }}
28+
dotnet-version: |
29+
11.x
30+
${{ vars.DOTNET_SDK_VERSIONS }}
2931
cache: true
3032
cache-dependency-path: Directory.Packages.props
3133

.github/workflows/dotnet.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ jobs:
4747
- name: Setup .NET SDK
4848
uses: actions/setup-dotnet@v5.2.0
4949
with:
50-
dotnet-version: ${{ vars.DOTNET_SDK_VERSIONS }}
50+
dotnet-version: |
51+
11.x
52+
${{ vars.DOTNET_SDK_VERSIONS }}
5153
cache: true
5254
cache-dependency-path: Directory.Packages.props
5355

@@ -64,6 +66,7 @@ jobs:
6466
flags: ${{ runner.os }},${{ runner.arch }}
6567
disable_search: true
6668
files: |
69+
${{ format(vars.TEST_ASSET_FOLDERS, 'net11.0', vars.COVERAGE_REPORT_FILE) }},
6770
${{ format(vars.TEST_ASSET_FOLDERS, 'net10.0', vars.COVERAGE_REPORT_FILE) }},
6871
${{ format(vars.TEST_ASSET_FOLDERS, 'net9.0', vars.COVERAGE_REPORT_FILE) }},
6972
${{ format(vars.TEST_ASSET_FOLDERS, 'net8.0', vars.COVERAGE_REPORT_FILE) }}

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
- name: Setup .NET SDK
2626
uses: actions/setup-dotnet@v5.2.0
2727
with:
28-
dotnet-version: ${{ vars.DOTNET_SDK_VERSIONS }}
28+
dotnet-version: |
29+
11.x
30+
${{ vars.DOTNET_SDK_VERSIONS }}
2931
cache: true
3032
cache-dependency-path: Directory.Packages.props
3133

0 commit comments

Comments
 (0)