We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55d211c commit 571d41cCopy full SHA for 571d41c
Build.ps1
@@ -66,7 +66,9 @@ foreach ($test in Get-ChildItem test/*.Tests) {
66
67
Pop-Location
68
69
-if ($env:NUGET_API_KEY -and ($NULL -ne $suffix -or $NULL -ne $prefix)) {
+if ($env:NUGET_API_KEY `
70
+ -and ($NULL -ne $suffix -or $NULL -ne $prefix) `
71
+ -and ($env:CI_TARGET_BRANCH -eq "dev" -or $env:CI_TARGET_BRANCH -eq "master")) {
72
# GitHub Actions will only supply this to branch builds and not PRs. We publish
73
# builds from any branch this action targets (i.e. master and dev).
74
0 commit comments