Skip to content

Commit 231df84

Browse files
authored
Only do a restore in copilot-setup-steps.yml to make sure a build error doesn't break Copilot
1 parent 59f7e9a commit 231df84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25-
- name: Do an initial build to ensure all dependencies are restored
25+
- name: Do an initial restore to ensure all dependencies are restored
2626
run: |
27-
./build.sh
27+
./build.sh -restore
2828
- name: Put repo-local dotnet install on PATH
2929
run: |
3030
echo "PATH=$PWD/.dotnet:$PATH" >> $GITHUB_ENV

0 commit comments

Comments
 (0)