Skip to content

v0.0.30

v0.0.30 #33

Workflow file for this run

name: Publish Release to NuGet
on:
release:
types: [published]
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x.x
- name: Build and strong name
run: dotnet build --configuration Release --no-incremental -p:version=${GITHUB_REF#refs/*/v} -p:SignAssembly=true -p:AssemblyOriginatorKeyFile=../key.snk
- name: Pack SDK
run: dotnet pack -p:version=${GITHUB_REF#refs/*/v} -o ./publish
- name: Ship to NuGet
run: dotnet nuget push ./publish/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate