Skip to content

Commit

Permalink
Update nuget-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tspence authored Aug 13, 2024
1 parent f12c93e commit 3a413cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: NuGet Publish
on:
push:
branches: [main]
paths:
- ./*.nuspec
pull_request:
branches: [main]

Expand Down Expand Up @@ -40,4 +38,4 @@ jobs:

- name: Push generated package to GitHub registry
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: nuget push *.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{ secrets.NUGET_API_KEY }}
run: nuget push *.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{ secrets.NUGET_API_KEY }}

0 comments on commit 3a413cf

Please sign in to comment.