Skip to content

Commit 65de4f3

Browse files
committed
restore prerelease push to nuget on master branch
1 parent 2b156d8 commit 65de4f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ jobs:
5050

5151
- name: Push NuGet
5252
if: |
53-
github.event.action == 'published'
53+
startsWith(github.event.ref, 'refs/tags/')
54+
|| endsWith(github.event.ref, '/master')
55+
|| github.event.action == 'published'
5456
shell: pwsh
5557
run: dotnet nuget push **/*.nupkg --source $Env:SOURCE --api-key $Env:TOKEN --skip-duplicate
5658
env:

0 commit comments

Comments
 (0)