Skip to content

Commit

Permalink
Add recipe to find all folders that contain certain files
Browse files Browse the repository at this point in the history
  • Loading branch information
nafarlee committed Nov 30, 2023
1 parent 1e623d3 commit c793e63
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,18 @@ outputs:
# An JSON-formatted array of paths that matched the pattern(s)
matches: ${{ steps.for-each.outputs.matches }}
```
## Recipes
### Find all folders that contain certain files
```yaml
- uses: colpal/[email protected]
with:
root-patterns: |
./
**/
filter-patterns: |
**/main.sh
**/start.sh
```

0 comments on commit c793e63

Please sign in to comment.