You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👉 Use matches pipe to check the value of some variable. This pipe returns the given string if it matches the reference string, and returns an empty string otherwise. This is useful for running conditional commands based on some variable:
steps:
# ...
- if:
eval: '{{ some_var | matches: some value }}'update: some_file.txtelse:
update: some_other_file.txt# ...
The text was updated successfully, but these errors were encountered:
Logic can be updated to use the new
matches
pipe:The text was updated successfully, but these errors were encountered: