Skip to content

Commit d47cae9

Browse files
xrkolovosclaude
andcommitted
Add .NET SDK setup to CI/release workflows
windows-latest may not have .NET 8/9/10 pre-installed, so explicitly set up all required SDKs for multi-targeting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 57929b3 commit d47cae9

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ jobs:
1717
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20+
- name: Setup .NET SDKs
21+
uses: actions/setup-dotnet@v4
22+
with:
23+
dotnet-version: |
24+
8.0.x
25+
9.0.x
26+
10.0.x
2027
- name: Build and Test
2128
run: ./Build.ps1
2229
shell: pwsh

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@ jobs:
1313
- name: Checkout
1414
uses: actions/checkout@v4
1515
with:
16-
fetch-depth: 0
16+
fetch-depth: 0
17+
- name: Setup .NET SDKs
18+
uses: actions/setup-dotnet@v4
19+
with:
20+
dotnet-version: |
21+
8.0.x
22+
9.0.x
23+
10.0.x
1724
- name: Build and Test
1825
run: ./Build.ps1
1926
shell: pwsh

0 commit comments

Comments
 (0)