Updated project configuration for NuGet publishing. #107
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: Build and Test | |
| on: [push, pull_request] | |
| jobs: | |
| Build_and_Test: | |
| strategy: | |
| matrix: | |
| # Debug and Release might be different due to conditional compilation, so validate both. | |
| configuration: [Debug, Release] | |
| name: Build and Test (${{ matrix.configuration }}) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10 | |
| dotnet-quality: ga | |
| - name: Restore Dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --configuration ${{ matrix.configuration }} --no-restore | |
| - name: Test | |
| run: dotnet test --configuration ${{ matrix.configuration }} --no-build --nologo |