Validate multiple files separated by comma
Actions do not support arrays, only string values see. This is a workaround to support multiple files passed in from a single input.
- uses: RoadieHQ/[email protected]
with:
path: 'catalog-info-1.yaml,catalog-info-2.yaml,catalog-info-3.yaml'
Validate multiple files using a glob
Using a glob allows you to define a pattern and expand the input. In the example below, all files matching this pattern will be returns.
- uses: RoadieHQ/[email protected]
with:
path: 'catalog-info-*.yaml,services/**/*/catalog-info.yaml'
General globbing support
Even the terminal expands glob patterns, in certain situations this does not work e.g. when passing a list of files using STDIN. With this change globs are supported in scenarios.