Skip to content

Update README.md

Update README.md #77

Workflow file for this run

name: Publish
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.401
- name: Build
run: dotnet build --configuration Release
- name: Unit Tests
run: dotnet test
deploy:
if: github.ref == 'refs/heads/master'
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.401
- name: Nuget Pack
run: dotnet pack --output nupkgs -c Release
- name: Nuget Publish
run: dotnet nuget push nupkgs/**/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate -n