Skip to content

Publish NuGet

Publish NuGet #4

Workflow file for this run

name: Publish NuGet
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.x
7.x
8.x
- name: Build
run: dotnet build -c Release Source/Salix.StackTracer/Salix.StackTracer.csproj
- name: Publish
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}