diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index e79803086..352efa8fd 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -12,23 +12,19 @@ on: permissions: contents: read -env: - # Allow Copilot to access Visual Studio assets URLs needed for NuGet restore - COPILOT_AGENT_FIREWALL_ALLOW_LIST_ADDITIONS: "vsblob.vsassets.io" - jobs: copilot-setup-steps: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - name: Do an initial build to ensure all dependencies are restored + - name: Do an initial restore to ensure all dependencies are restored run: | - ./build.sh + ./eng/common/build.sh --restore - name: Put repo-local dotnet install on PATH run: | echo "PATH=$PWD/.dotnet:$PATH" >> $GITHUB_ENV - name: Check dotnet version run: | - dotnet --version \ No newline at end of file + dotnet --version