Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump node version to 20 in action.yml
Node 16 is EOL on 2023-09-11 so we update it to Node 20 that was added in the actions/runner in v2.308.0
- Loading branch information
5d259c6
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.
@shivammathur would you consider making this a major version bump like github does on their own actions ?
5d259c6
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.
No, I understand that technically this is a breaking change, but practically for this reason creating a major version is not a good idea for the following reasons.
v2
tag will have to edit the workflows to get the bug-fixes in this release even if they are not using the self-hosted runners.It mostly affects enterprise users who maintain containerized runners fixed to a version but use the
v2
tag for setup-php. But in that case, one should have a method in place to update your images regardless of the action versioning in case the runner releases a new version. Also using a semver tag for setup-php would be a good idea in the images.As a policy, unless there is a breaking change in the setup-php API we will not tag a major version.
5d259c6
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.
@shivammathur is there a way to use different version of node, in my case would still need node 16? Thanks
5d259c6
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.
@fofort The previous version of the action
2.25.5
should work.