Skip to content

Commit b3c6345

Browse files
committed
CICD : Don't execute NuGet push on any branch other than master
1 parent 09f9698 commit b3c6345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# publish Core on version change
3333
- name: publish Core on version change
3434
id: publish_core
35-
if: success()
35+
if: github.ref == 'refs/heads/master' && success()
3636
uses: Clivar/publish-nuget@master
3737
with:
3838
# Filepath of the project to be packaged, relative to root of repository

0 commit comments

Comments
 (0)