-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Updating actions/cache@v3 to v4 to run on node20 #14
Comments
@devlsat This action is a shell action and fundamentally does not use node js. However, note that Amazon linux 2 has problems running node 20 because of its dependency with old GLIBC version. If you are facing issues in running, kindly consider this option
|
Okay thanks for the update |
You are right.. this might help.. Looking into why the CI did not get triggered for your PR. |
Closing the issue |
Reopening this issue to keep track of making this action node version agnostic |
@devlsat This Concern of referencing old node version is now fixed with the latest release. If you run trigger a new job you should see it disappear. As a big performance bonus, the python installation time should go from ~1 minute to ~25 seconds . Give it a spin and let know your feedback :-) |
@devlsat Interestingly v1.0.8 also has references to the $HOME variable.. Thinking about potential root causes... you have any thoughts? setup-python-amazon-linux/action.yml Line 33 in 976096e
|
@devlsat Have released a possible fix for this in the latest release (v1.0.12).. Can you try running it with either v1.0.12 tag or v1 tag? |
@devlsat If you login to the self hosted runner and run |
Blank empty output |
@devlsat Is this action directly running in the EC2 runner machine or within a Docker container runner? |
Docker container runner |
@devlsat Which is the version of this action that is working fine for you? |
v1.0.8 works perfectly |
@devlsat Is it correct to assume the new versions of this action are working for you? |
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
actions/cache@v3 runs on node16 which is deprecated, requesting to migrate to v4
The text was updated successfully, but these errors were encountered: