Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

feat: add GetOrCreate interface (#6) #3

feat: add GetOrCreate interface (#6)

feat: add GetOrCreate interface (#6) #3

Workflow file for this run

name: Package to Nuget
on:
push:
branches:
- pack
- release
- hotfix
jobs:
pack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Publish to Nuget
env:
NUGET_API_KEY: ${{secrets.NUGET_API_KEY}}
Bundle: True
run: |
dotnet build src/Longbow.SerialPorts
dotnet pack src/Longbow.SerialPorts -c Release -o publish
dotnet nuget push publish/Longbow.SerialPorts.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate