v1.1.0.0 #2
Workflow file for this run
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 to NuGet | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up .NET SDK | |
uses: actions/setup-dotnet@v1 | |
- name: Build | |
run: dotnet build -c Release | |
- name: Pack NuGet packages | |
run: dotnet pack -c Release --no-build --output . | |
- name: Publish to NuGet | |
run: dotnet nuget push "*.nupkg" --api-key ${{ secrets.GIT_PACKAGES_TOKEN }} --source "https://nuget.pkg.github.com/monambike/index.json" |