-
Notifications
You must be signed in to change notification settings - Fork 30
404 ERR when downloading ruff with specific version 0.4.10. #133
Description
We are using Ruff v0.4.10 in our project. When attempting to use this action, it fails with a 404 error while downloading the specified version.
The action tries to fetch the binary from the following URL:
https://github.com/astral-sh/ruff/releases/download/v0.4.10/ruff-x86_64-unknown-linux-gnu.tar.gz
However, the correct URL (which works) is:
https://github.com/astral-sh/ruff/releases/download/v0.4.10/ruff-0.4.10-x86_64-unknown-linux-gnu.tar.gz
Upon inspecting the code, I found this line in the download logic:
| const downloadUrl = `https://github.com/${OWNER}/${REPO}/releases/download/${version}/${artifact}${extension}`; |
It seems that the filename format in the action does not match the naming convention used for older versions of Ruff. Could you confirm if this is an oversight or if I’m missing something?
BIG Thanks!