Skip to content

Commit cd8dd6d

Browse files
danmoseleyCopilot
andauthored
Enhance workflow with .NET installation steps for MCP servers (#63387)
* Enhance workflow with .NET installation steps * Update .github/workflows/copilot-setup-steps.yml Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
1 parent 9f2977b commit cd8dd6d

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

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

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,28 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.2.2
1818

19-
# Include PrepareForHelix to maximise what is downloaded here
19+
# Include PrepareForHelix to maximise what is downloaded here
2020
- name: Build solution
2121
env:
2222
# prevent GitInfo errors
2323
CI: false
2424
run: ./restore.sh
25+
26+
# For MCP servers like nuget's
27+
- name: Install .NET 10.x
28+
uses: actions/setup-dotnet@v4
29+
with:
30+
dotnet-version: |
31+
10.x
32+
dotnet-quality: preview
33+
34+
# for MCP servers
35+
- name: Install .NET 8.x
36+
uses: actions/setup-dotnet@v4
37+
with:
38+
dotnet-version: |
39+
8.x
40+
41+
# Diagnostics in the log
42+
- name: dotnet --info
43+
run: dotnet --info

0 commit comments

Comments
 (0)