Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle multiple include/exclude paths with newlines
When multiple paths are specified using the `|` operator in YAML, the resulting string contains newlines. When this string is passed to `globs=$(eval "echo ${file_paths}")` bash is trying to execute paths as commend and fails with the error: ```sh /action/functions.sh: line 215: tests/**: No such file or directory ``` We can avoid this error by replacing newlines with spaces from the paths.
- Loading branch information
Showing
4 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters