Skip to content

Commit f7706b8

Browse files
authored
- Only run final CI step if triggered by a "release" (#64)
1 parent c9015c0 commit f7706b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ jobs:
7070
- name: Publish to NuGet
7171
run: make publish key=${{ secrets.NUGET_API_KEY }}
7272

73+
# If triggered by a release, upload the NuGet package to the release
7374
- name: Upload NuGet package to release
75+
if: github.event_name == 'release'
7476
uses: AButler/upload-release-assets@v3.0
7577
with:
7678
files: "*.nupkg"

0 commit comments

Comments
 (0)