find command not working with wildcards in GitHub Actions #118759
Unanswered
kathyrollo
asked this question in
Actions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Bug
Body
As part of our workflow, we have a
dot-upload.sh
script that has thefind
command in it. Due to the sensitive nature of the script, I am unable to post it in its entirety, but I can confirm this the only line that uses thefind
command:The relative path to the downloaded files is passed as argument to the script:
When the relative path including the file name is passed, the
find
command works and returns the matching file:However, when wildcards
/**/
are used to return files in nested dirs, thefind
command saysNo such file or directory
:I noticed that when globbing is involved, single quotes are suddenly added around the args, which is probably making the path invalid:
Neither the script nor the YAML has single quotes in them.
Would like to know if this is a bug? And if not, what would be the correct way to pass the args without GitHub Actions adding the unwanted single quotes?
Beta Was this translation helpful? Give feedback.
All reactions