Skip to content

Update dependency System.IO.Ports to 9.0.1 #94

Update dependency System.IO.Ports to 9.0.1

Update dependency System.IO.Ports to 9.0.1 #94

Workflow file for this run

name: SerialPortRx CI-BuildOnly
on:
pull_request:
branches: [ "master" ]
jobs:
ci-build-and-test:
runs-on: windows-2022
outputs:
nbgv: ${{ steps.nbgv.outputs.SemVer2 }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: Setup .NET 6/7/8
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- 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.sln
working-directory: src
- name: Build
run: dotnet build --no-restore --configuration Release SerialPortRx.sln
working-directory: src
- name: Create NuGet Artifacts
uses: actions/upload-artifact@master
with:
name: nuget
path: '**/*.nupkg'