Skip to content

Commit 4409522

Browse files
authored
Update nugetGallery.yml
Avoid running the action multiple times per release.
1 parent 2e68260 commit 4409522

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/nugetGallery.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: NuGet Gallery NuGet generation
22

33
on:
44
release:
5+
types: [published]
56
branches:
67
- master
78

@@ -32,4 +33,4 @@ jobs:
3233
- name: Push generated package to GitHub registry
3334
run: |
3435
cd src\netstandard
35-
nuget push .\out\*.nupkg -Source "GPR" -SkipDuplicate
36+
nuget push .\out\*.nupkg -Source "GPR" -SkipDuplicate

0 commit comments

Comments
 (0)