Skip to content

Publish

Publish #4

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Pack
run: dotnet pack --configuration Release --no-restore
- name: Publish
uses: softprops/[email protected]
with:
files: "*.nupkg"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}