Skip to content

v1.4.2

v1.4.2 #3

Workflow file for this run

name: Publish Nuget Package
on:
release:
types: [published]
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Build with dotnet
run: dotnet build --configuration Release
- name: Test with dotnet
run: dotnet test
- name: Pack nuget package
run: dotnet pack --configuration Release
- name: Push package to nuget
run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_DEPLOY_KEY }} --source https://api.nuget.org/v3/index.json