Skip to content

release

release #2

Workflow file for this run

name: publish
on:
workflow_dispatch:
release:
types:
- published
env:
NuGetDirectory: ${{ github.workspace }}/nuget
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
- name: Create Package
run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }}
- name: Publish Artifacts
uses: actions/upload-artifact@v3
with:
name: nuget
path: ${{ env.NuGetDirectory }}/*.nupkg