Skip to content

Commit

Permalink
Publish to nuget.org
Browse files Browse the repository at this point in the history
  • Loading branch information
Twinki14 committed Dec 26, 2023
1 parent cfe1d9d commit 792a983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
working-directory: src

- name: Publish - NuGet
if: ${{ env.is-default-branch == 'true' || env.is-tag == 'true' }}
run: echo "NuGet"
if: ${{ env.is-tag == 'true' }}
run: dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate

- name: Publish - GitHub
if: ${{ env.is-default-branch == 'true' || env.is-tag == 'true' }}
Expand Down

0 comments on commit 792a983

Please sign in to comment.