-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
An option to use local tar.gz of node or from custom domain #837
Comments
Hello, @turkus! Thank you for creating this issue, I will do some investigation and get back to you with the response :) |
Hello again, @turkus! I just wanted to check with you if you've tried using self-hosted runners as well? You can find more about them in our docs, but basically they offer more control of hardware, operating system, and software tools than GitHub-hosted runners. This leaves a lot of room for customization in terms of architecture, OS, hardware and so on. You could try installing your desired version of Node locally and setting up the runner as described in the docs and on the initial steps of creation. Provide the version you need to the workflow later and the runner on your machine should run. Feel free to let us know if you have any follow-up questions or, alternatively, if our suggestion was what you were looking for. Thank you very much for your time and cooperation :) |
Thank you @dusan-trickovic for your response. Well it isn't about self-hosted runners. It's more like add an option in this setup-node library to give an option to use node dist from other source than node public dists, cause as you can see in other issues here in setup-node issues, that public node server gets timeouts and it occurs now often. |
Hello again, @turkus ! I apologize for the late response. I understand what you mean now, I will discuss that option with the team and see what we can do about it :) Thank you very much for your suggestion and cooperation! |
@dusan-trickovic Any updates on this? We're also affected by this issue. The node CDN is not very reliable recently. |
@jakule I tried the option with the tools cache and it worked for me - you will need to set the exact version in the setup-node step so it can be found. As a matter of fact I am using self-hosted runners but this should work the same on others. |
Description:
Thanks a lot for your great work. About the problem:
I had couple of times situation where public dist wasn't available and setup-node action had timeouts.
Justification:
In case of hotfixes we don't have much time, so my concern was to use local path as a path to the dist (tar.gz) or external URL (placed on my server) to download it.
Is there an any option to achieve smth like that even now?
I tried placing some dists under tool cache dirs, but doesn't work.
Thanks in advance,
turkus
The text was updated successfully, but these errors were encountered: