Skip to content

Commit

Permalink
- Only run final CI step if triggered by a "release" (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 authored Feb 12, 2024
1 parent c9015c0 commit f7706b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ jobs:
- name: Publish to NuGet
run: make publish key=${{ secrets.NUGET_API_KEY }}

# If triggered by a release, upload the NuGet package to the release
- name: Upload NuGet package to release
if: github.event_name == 'release'
uses: AButler/[email protected]
with:
files: "*.nupkg"
Expand Down

0 comments on commit f7706b8

Please sign in to comment.