-
Notifications
You must be signed in to change notification settings - Fork 398
38 lines (29 loc) · 1.15 KB
/
copilot-setup-steps.yml
File metadata and controls
38 lines (29 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: "Copilot Setup Steps"
# Allow testing of the setup steps from your repository's "Actions" tab.
on: workflow_dispatch
jobs:
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
# See https://docs.github.com/en/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent
copilot-setup-steps:
runs-on: 8-core-ubuntu-latest
permissions:
contents: read
# You can define any steps you want, and they will run before the agent starts.
# If you do not check out your code, Copilot will do this for you.
steps:
- uses: actions/checkout@v5
# The NuGet MCP requires .NET 10 SDK to be available in PATH.
- name: Setup local dotnet and add it to PATH PATH
run:
echo "$PWD/.dotnet/" >> $GITHUB_PATH
- name: Install Dependencies
run: |
sudo ./eng/common/native/install-dependencies.sh && \
sudo apt-get install -qq -y \
curl
- name: Restore solution
run: ./build.sh -restore
- name: Run dotnet info
run: dotnet --info
- name: Build repo
run: ./build.sh