-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
hashFiles documentation says you can supply multiple paths, but act doesn't let you #324
Labels
Comments
I can also confirm that this bug exists in |
Issue is stale and will be closed in 7 days unless there is new activity |
This is still an issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not sure how new this is, because I know
hashFiles
used to only allow one path, but the github actions documentation now says you can supply multiple paths: https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#hashfilesWhen I try this in
act
though, I get:[RangeError: expected 1 argument(s); got 3]
My expression is this:
${{ hashFiles('lib/**/*.ex', 'test/**/*.ex', 'mix.lock') }}
EDIT: Another interesting point: in
act
you can do${{ hashFiles('{lib/**/*.ex,test/**/*.ex,mix.lock}') }}
, but github actions will not recognize the multi-glob pattern.The text was updated successfully, but these errors were encountered: