-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quoting of invalidation args #37
Comments
colleague double checked me: So, it uses @actions/exec, https://github.com/actions/toolkit/blob/main/packages/exec/src/toolrunner.ts#L369 Is where spawn options are from |
reproduced in a second use case by emptying bucket and redeploying
all that said, i like your action and want to keep using it since i can't run the tests (or maybe just don't know how) i won't bother with a pr since i figure you'd want test coverage, but happy to make the small change and fire one off if you like. |
it doesn't look like this case is covered, but i'm not sure if i'm missing something |
i haven't dug in enough but i don't know that the exec/spawn call uses a shell, so when i do the invalidation with
*
in it, it complains. i think maybe you don't need to map/convert the paths to a quoted path, unless in some cases it would be running under a shell. what i can say is that i took that out of runner.ts so that it's justand stopped getting the error:
(this one has single quotes because i tried that first thinking the shell was trying to glob using the *, but now i think that aws just balked at there being quotes in it)
The text was updated successfully, but these errors were encountered: