Skip to content

Skip task if folder in git repo not exists #5076

Answered by dibyom
KIRY4 asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah, your task can emit a result (e.g. this result be an array that contains a list of folder names that were fetched) that can then be checked in a when expression in the next task to decide whether it should run or not.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KIRY4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
kind/feature Categorizes issue or PR as related to a new feature.
2 participants
Converted from issue

This discussion was converted from issue #5074 on July 05, 2022 09:25.