Update dotnet monorepo #103
Workflow file for this run
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: CI | |
| on: | |
| workflow_dispatch: | |
| push: # run on pushes to main (only happens when PRs are merged or admin commits directly to main) | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/ci.yml" | |
| - "src/**" | |
| pull_request: # run on all PR actions (push, open, reopen) | |
| paths: | |
| - ".github/workflows/ci.yml" | |
| - "src/**" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| DOTNET_VERSION: 10.0.x | |
| jobs: | |
| ci: | |
| name: 🧪 CI | |
| runs-on: windows-latest | |
| steps: | |
| - name: 🛒 Checkout | |
| uses: actions/checkout@v6.0.3 | |
| with: | |
| fetch-depth: 0 | |
| filter: tree:0 | |
| ref: ${{ github.head_ref }} | |
| - name: ✨ Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: ${{ env.DOTNET_VERSION }} | |
| - name: 🛠️ Build | |
| run: dotnet build "GitHubCommit.slnx" --configuration Release |