Merge branch 'main' of github.com:dotnet/xharness into copilot/fix-1425 #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Automatically run the setup steps when they are changed to allow for easy validation, and | |
| # allow manual testing through the repository's "Actions" tab | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| pull_request: | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| permissions: | |
| contents: read | |
| jobs: | |
| copilot-setup-steps: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Do an initial restore to ensure all dependencies are restored | |
| run: | | |
| ./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 |