Skip to content

gh run download misuse in release.lua #12

@lovelxc

Description

@lovelxc

See cli/cli#5625 . You should not try to download build artifacts from a previous GitHub Actions run using the gh run download command.

clice-llvm/release.lua

Lines 137 to 144 in 52af132

-- Get latest workflow id
local result = json.decode(os.iorunv(format("gh run list --json databaseId --limit 1 --workflow=%s.yml", workflow)))
for _, json in pairs(result) do
-- float -> int
local run_id = format("%d", json["databaseId"])
-- download all artifacts
os.execv("gh", {"run", "download", run_id, "--dir", dir}, {envs = envs})
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions