Skip to content

Merge branch 'main' of https://github.com/dotnet/sdk into merge/relea… #102

Merge branch 'main' of https://github.com/dotnet/sdk into merge/relea…

Merge branch 'main' of https://github.com/dotnet/sdk into merge/relea… #102

name: Copilot Setup Steps
# Automatically run the setup steps when they are changed to allow for easy validation, and
# allow manual testing through the repository's "Actions" tab
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml
permissions:
contents: read
jobs:
copilot-setup-steps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Do an initial build to ensure all dependencies are restored
continue-on-error: true
run: |
./build.sh
- name: Put repo-local dotnet install on PATH
run: |
echo "PATH=$PWD/.dotnet:$PATH" >> $GITHUB_ENV
- name: Check dotnet version
run: |
dotnet --version
# For MCP servers like nuget's
- name: Install .NET 10.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
10.x
dotnet-quality: preview
# for MCP servers
- name: Install .NET 8.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.x