Skip to content

404 ERR when downloading ruff with specific version 0.4.10. #133

@light-transnai

Description

@light-transnai

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions