Skip to content

Commit 04ca53c

Browse files
authored
Update build.yml
fix git tag job condition
1 parent bc574ed commit 04ca53c

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
@@ -183,7 +183,7 @@ jobs:
183183
create-release-tag:
184184
runs-on: ubuntu-latest
185185
needs: [build, publish-nuget]
186-
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
186+
if: github.event.inputs.runPublish == 'true' && github.ref_name == github.event.repository.default_branch
187187
permissions:
188188
contents: write
189189

0 commit comments

Comments
 (0)