Skip to content

Commit

Permalink
feat: add nuget_token
Browse files Browse the repository at this point in the history
  • Loading branch information
ikpil committed Oct 3, 2023
1 parent b31bb9d commit 524258b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,8 @@ jobs:

- name: Pack
run: dotnet pack $PACK_OPTIONS /p:PackageVersion=${{ github.event.inputs.version }} -c Release --nologo --output working-nuget

- name: Publish the package to nuget.org
run: dotnet nuget push ./working-nuget/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }}

0 comments on commit 524258b

Please sign in to comment.