-
Notifications
You must be signed in to change notification settings - Fork 90
download-and-extract-tar task inserts extra slash, causing some downloads to fail #577
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug
Some recent workflow runs are failing because nodejs cannot be downloaded with the error:
task: [download-and-extract-tar-node-v22.4.0-linux-x64.tar.xz] curl --fail --location --show-error "https://nodejs.org/dist/v22.4.0//node-v22.4.0-linux-x64.tar.xz" --output "/home/kirk/projects/builds/kr-clp/nodejs-22-tmp/node-v22.4.0-linux-x64.tar.xz"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
task: Failed to run task "lint:js-check": exit status 22Examining the URL, we can see that there's an extra slash before the tar name. Presumably, nodejs has changed the way URLs are parsed by their server, exposing the bug in the task.
CLP version
Environment
GitHub workflow.
Reproduction steps
task lint:js-check
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working