File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ # Automatically run the setup steps when they are changed to allow for easy validation, and
2+ # allow manual testing through the repository's "Actions" tab
3+ on :
4+ workflow_dispatch :
5+ push :
6+ paths :
7+ - .github/workflows/copilot-setup-steps.yml
8+ pull_request :
9+ paths :
10+ - .github/workflows/copilot-setup-steps.yml
11+
12+ permissions :
13+ contents : read
14+
15+ env :
16+ # Allow Copilot to access Visual Studio assets URLs needed for NuGet restore
17+ COPILOT_AGENT_FIREWALL_ALLOW_LIST_ADDITIONS : " vsblob.vsassets.io"
18+
19+ jobs :
20+
21+ copilot-setup-steps :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+ - name : Do an initial build to ensure all dependencies are restored
26+ run : |
27+ ./build.sh
28+ - name : Put repo-local dotnet install on PATH
29+ run : |
30+ echo "PATH=$PWD/.dotnet:$PATH" >> $GITHUB_ENV
31+
32+ - name : Check dotnet version
33+ run : |
34+ dotnet --version
You can’t perform that action at this time.
0 commit comments