Flurl.Http 4.0.1 #14
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 | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: #manual trigger | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.0.x | |
- name: Download release artifacts | |
uses: robinraju/[email protected] | |
with: | |
tag: ${{ github.event.release.tag_name }} | |
filename: "*.*nupkg" | |
token: ${{ github.token }} | |
- name: Publish to NuGet | |
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json --skip-duplicate |