Skip to content

publish-release

publish-release #1

Workflow file for this run

name: publish-release
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- run: dotnet build -c Release
working-directory: src
- name: Publish packages
run: dotnet nuget push */bin/Release/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
working-directory: src
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }}