This repository was archived by the owner on Jul 30, 2026. It is now read-only.
Update dependency TUnit to 1.63.0 #404
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: SerialPortRx CI-BuildOnly | |
| on: | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| ci-build-and-test: | |
| runs-on: windows-2025 | |
| outputs: | |
| nbgv: ${{ steps.nbgv.outputs.SemVer2 }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 # avoid shallow clone so nbgv can do its work. | |
| - name: Setup .NET (With cache) | |
| uses: actions/setup-dotnet@v6.0.0 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 9.0.x | |
| 10.0.x | |
| 11.0.x | |
| dotnet-quality: 'preview' | |
| cache: true | |
| cache-dependency-path: | | |
| **/Directory.Packages.props | |
| **/*.slnx | |
| **/*.csproj | |
| **/global.json | |
| **/nuget.config | |
| - name: NBGV | |
| id: nbgv | |
| uses: dotnet/nbgv@master | |
| with: | |
| setAllVars: true | |
| - run: echo 'SemVer2=${{ steps.nbgv.outputs.SemVer2 }}' | |
| - name: NuGet Restore | |
| run: dotnet restore SerialPortRx.slnx | |
| working-directory: src | |
| - name: Build | |
| run: dotnet build --no-restore --configuration Release SerialPortRx.slnx | |
| working-directory: src | |
| - name: Create NuGet Artifacts | |
| uses: actions/upload-artifact@master | |
| with: | |
| name: nuget | |
| path: '**/*.nupkg' |