Skip to content

Commit 3d6f87e

Browse files
alopezzsarah-witt
authored andcommitted
Fix Workflow Dispatch for build deps workflow (#19889)
* Print debugging to figure out variable values on workflow dispatches * Revert "Print debugging to figure out variable values on workflow dispatches" This reverts commit f8e0985. * Fix workflow dispatch by using github.ref_name instead of github.ref
1 parent c0b2743 commit 3d6f87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-deps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ jobs:
237237

238238
publish:
239239
name: Publish artifacts
240-
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && (github.ref == github.event.repository.default_branch || startsWith(github.ref, '7.')))
240+
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && (github.ref_name == github.event.repository.default_branch || startsWith(github.ref_name, '7.')))
241241
needs:
242242
- build
243243
- build-macos

0 commit comments

Comments
 (0)