File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1717 semver : ${{ steps.gitversion.outputs.semVer }}
1818 fullsemver : ${{ steps.gitversion.outputs.fullSemVer }}
1919 nugetversion : ${{ steps.gitversion.outputs.fullSemVer }}
20-
20+ publishNuget : ${{ steps.changes.outputs.BddfyUpdated == 'true' || steps.changes.outputs.SamplesUpdated == 'true' }}
2121 steps :
2222 - name : Checkout code
2323 uses : actions/checkout@v5
@@ -201,7 +201,7 @@ jobs:
201201 publish-nuget :
202202 runs-on : ubuntu-latest
203203 needs : build
204- if : github.event.inputs.runPublish == 'true' || github.ref_name == github.event.repository.default_branch
204+ if : needs.build.outputs.publishNuget == 'true' && ( github.event.inputs.runPublish == 'true' || github.ref_name == github.event.repository.default_branch)
205205 environment :
206206 name : Publish
207207 url : https://www.nuget.org/packages/TestStack.BDDfy/
You can’t perform that action at this time.
0 commit comments