Skip to content

Workflow file for this run

name: Nuget Build
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: setup dotnet
uses: actions/[email protected]
with:
dotnet-version: 8.0.x
- name: test
run: |
dotnet test --filter Category!=Dependencies
- name: pack
run: |
dotnet pack -c Release
- name: publish
run: |
dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' --skip-duplicate -k ${{ secrets.nuget }}