-
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
Multiple node-version-file (string[]) #938
Comments
I'm thinking there will be an issue with having an array/list as param with the toolkit (actions/toolkit#184). |
Hello @y-nk , |
hello |
As far as I know, GitHub actions definitions do not allow arrays as inputs, so we'd have to serialize the list. I've posted a similar but mightier suggestion over here in issue 939. |
Description:
The idea would be to propose having an array of string when it comes to
node-version-file
so that it would have fallbacks if the file was not foundJustification:
Like many i'm using this action in a monorepo, where sometimes services/packages are not on par. Some have a
.node-version
file, some a.nvmrc
file, and some apackage.json
file. I wished we could provide the 3 so that the first found gets picked.Are you willing to submit a PR?
Yes, I could work on it.
The text was updated successfully, but these errors were encountered: