Open biswalc opened 4 months ago
Same issue here with self-hosted runner. I am still running checkout@v2 and still its failing for node20.
is it something to do with https://github.com/actions/runner/releases/tag/v2.317.0?
Dropping support for official ubuntu:18.04
docker image is unfortunate and https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ only lists ubuntu:16.04
as unsupported
Are there plans to fix the ubuntu:18.04
support?
Since node-based actions spread into containers, it seems very unwise to allow the node interpreter to rely on software inside the container. That appears to be the root of this mismatch. A container may contain older glibc which breaks things as basic as actions/checkout, which can leave users pretty trapped.
Node should instead be:
container:
It appears this has actually been proposed in https://github.com/actions/runner/pull/3128 back in February.
Describe the bug
I am running Github Actions Self Hosted Runner on a Ubuntu VM:
I am running Actions Runner version
2.317.0
In the context of the notice by the Github team: Notice
I am using the GitHub Actions:
But when the job executes, I get this Error in the Job logs:
On the Ubuntu VM, I have node installed already, and it is running as expected; not sure why the runner is complaining about not being able to run
node 20
Additional info:
Currently to circumvent the downtime of CI, I am running the scripts as below:
To Reproduce Provided in the description.
Expected behavior Since
node
versionv20.15.0
is already running on the ubuntu VM, the runner should not have issues with running withnode20
Runner Version and Platform
Github runner version
2.317.0
OS of the machine running the runner?
What's not working?
Provided in description.
Job Log Output
Runner and Worker's Diagnostic Logs
None