-
Notifications
You must be signed in to change notification settings - Fork 964
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
change hashFiles() expression to use @actions/glob. #268
Conversation
e99e689
to
32bd511
Compare
} | ||
} | ||
|
||
public sealed class HashFiles : Function |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have you considered allowing multiple patterns? That is, minParameters: 1, maxParameters: int.MaxValue
If multiple patterns, check if the first one is --follow-symbolic-links
otherwise add it to the list of patterns.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i am trying switch hashfiles to use actions/glob in this PR without any behavior changes and add multiple patterns later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
support multiple actually make the code simple, i will do it.
@@ -0,0 +1,12 @@ | |||
{ | |||
"compilerOptions": { | |||
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wonder if this should be ES2019. Or have you considered just regular javascript since now much code. Your call.
30d4746
to
2972167
Compare
#234