How to check if folder exist using run_if?


As it mentioned in Bitrise docs run_if accept any valid Go Template. Is there any possibility to check if folder exist like this: run_if {{ exists .path/to/folder }}. I know that we can check if it exist in script step and store to ENV variable and check in run_if step.

Do we have any example how to create own Go Templates and make them work with Birtise?

Thank you!

Hi @Andrii.Furmanets,

Can you please share the code that you have right now?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.