Skip to content

Release Version 1.12.1 #42

Release Version 1.12.1

Release Version 1.12.1 #42

Workflow file for this run

name: Publish to NuGet
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
- name: Pack Template
run: dotnet pack -c Release
- name: Publish to NuGet
run: |
dotnet nuget push ./nuget/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}