Skip to content

Commit 5c48d83

Browse files
[copilot] setup .github/workflows/copilot-setup-steps.yml (#1344)
Context: https://docs.github.com/en/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent Setup `.github/workflows/copilot-setup-steps.yml`, which is a Github action that runs (only on Ubuntu) prior to Copilot doing its work. This makes Copilot more useful, as it has a locally cloned and built source tree with all dependencies installed. Copilot will be able to run various commands to achieve tasks as assigned. Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
1 parent 48d7b94 commit 5c48d83

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Copilot Setup Steps"
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
copilot-setup-steps:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v4
12+
with:
13+
submodules: recursive
14+
15+
- name: Setup .NET 9
16+
uses: actions/setup-dotnet@v4
17+
with:
18+
dotnet-version: '9.0.x'
19+
20+
- name: Setup Java 17
21+
uses: actions/setup-java@v4
22+
with:
23+
distribution: 'microsoft'
24+
java-version: '17'
25+
26+
- name: Prepare
27+
run: dotnet build -t:Prepare
28+
29+
- name: Build
30+
run: dotnet build

0 commit comments

Comments
 (0)