Skip to content

Commit ed92c51

Browse files
authored
Simplify condition for publishing NuGet package
1 parent ae4ccfb commit ed92c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ jobs:
210210
publish-nuget:
211211
runs-on: ubuntu-latest
212212
needs: build
213-
if: needs.build.outputs.publishNuget == 'true' && (github.event.inputs.runPublish == 'true' || github.ref_name == github.event.repository.default_branch)
213+
if: github.event.inputs.runPublish == 'true' || github.ref_name == github.event.repository.default_branch
214214
environment:
215215
name: Publish
216216
url: https://www.nuget.org/packages/TestStack.BDDfy/

0 commit comments

Comments
 (0)