| 1 | # This workflow will build a .NET project |
| 2 | # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net |
| 3 | |
| 4 | name .NET |
| 5 | |
| 6 | on |
| 7 | push: |
| 8 | branches: [ "main" ] |
| 9 | pull_request: |
| 10 | branches: [ "main" ] |
| 11 | |
| 12 | jobs |
| 13 | build: |
| 14 | |
| 15 | runs-on: ubuntu-latest |
| 16 | |
| 17 | steps: |
| 18 | - uses: actions/checkout@v3 |
| 19 | - name: Setup .NET |
| 20 | uses: actions/setup-dotnet@v3 |
| 21 | with: |
| 22 | dotnet-version: 6.0.x |
| 23 | - name: Restore dependencies |
| 24 | run: dotnet restore |
| 25 | - name: Build |
| 26 | run: dotnet build --no-restore |
| 27 | |
View only · write via MCP/CIDE