Bump version to 1.3.0 #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish ErrorOr to nuget | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main # Default release branch | |
paths: | |
- "src/**" | |
jobs: | |
publish: | |
name: build, pack & publish | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.100 | |
# Publish | |
- name: Package | |
run: dotnet pack -c Release src/ErrorOr.csproj | |
- name: Publish | |
run: dotnet nuget push .\artifacts\*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate |