Skip to content

publish

publish #22

Workflow file for this run

name: publish
on:
push:
branches: [ release ]
release:
types: [ published ]
jobs:
pack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.*
- name: Pack
run: ./build.sh --pack
- name: Publish package
run: dotnet nuget push --skip-duplicate -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json artifacts/pack/*.nupkg