-
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
Attemps to download .exe version for Linux when Node version not found in cache #714
Comments
The issue appears to stem from: setup-node/src/distributions/base-distribution.ts Lines 154 to 197 in a4fcaaf
|
What's odd is that the logs would suggest it identified the right URL first time. And the code suggest it tried this but got a 404. However, that link seems to work when I try to hit it myself. So I'm quite uncertain why this is happening - maybe there's some odd caching going on given the version was released recently, and the action runners are hitting a different cache than me. But setup-node should handle this gracefully. |
After thinking more about this, there appear to be two bugs here:
For clarity, this issue is dealing solely with issue 1. I've created a separate issue, #717, for 2. |
Hello @domdomegg. Thank you for your report. We'll investigate the issue. |
Hello @dmitry-shibanov This issue is blocking pipelines, do you have an ETA on the investigation ? |
Description:
When a node version is not found in the cache, for example when using 'current' or '19.8.1' at the moment, it appears that the action tries to download the
.exe
version despite running on a linux system.Action version:
Specify the action version
Platform:
Runner type:
Tools version:
node: 'current' (resolved to v19.8.1)
package manager: npm
Repro steps:
GitHub workflow:
Expected behavior:
The action downloads the binaries from the node site.
Actual behavior:
The action attempts to download the .exe version, which fails.
Example logs:
https://github.com/domdomegg/typescript-library-template/actions/runs/4430005745/jobs/7771191230
The text was updated successfully, but these errors were encountered: