Skip to content

Commit 2f62903

Browse files
ericstjCopilot
andauthored
Add dotnet to the path for copilot agent (#115912)
* Add dotnet to the path for copilot agent * Update .github/workflows/copilot-setup-steps.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Add dependency install step * Sudo install dependencies + info --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent fa1604a commit 2f62903

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,11 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4.2.2
1919

20+
- name: Install dependencies
21+
run: sudo ./eng/common/native/install-dependencies.sh
2022
- name: Restore solution
2123
run: ./build.sh --restore --excludecibinarylog --warnaserror false /p:BuildAllConfigurations=true /p:DotNetBuildAllRuntimePacks=true
24+
- name: Put dotnet on the path
25+
run: echo "PATH=$PWD/.dotnet:$PATH" >> $GITHUB_ENV
26+
- name: Run dotnet info
27+
run: dotnet --info

0 commit comments

Comments
 (0)