Multi-Target .NET 10 (#1354) #63
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
| name: "Copilot Setup Steps" | |
| # 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 | |
| jobs: | |
| # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot. | |
| copilot-setup-steps: | |
| runs-on: ubuntu-latest | |
| # Set the permissions to the lowest permissions possible needed for the steps. | |
| # Copilot will be given its own token for its operations. | |
| permissions: | |
| contents: read | |
| # Defined steps will run before the agent starts. | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - name: Fetch all tags and branches | |
| run: git fetch --prune --unshallow | |
| - name: Install .NET | |
| uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 | |
| with: | |
| # .NET 5 required for GitVersion | |
| dotnet-version: | | |
| 5.x | |
| 8.x | |
| 9.x | |
| 10.x | |
| # Ubuntu 24.04 does not have Mono installed, which is Required for Cake.Recipe | |
| - name: Install Mono | |
| run: sudo apt-get install mono-complete |