See cli/cli#5625 . You should not try to download build artifacts from a previous GitHub Actions run using the gh run download command.
|
-- 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 |
See cli/cli#5625 . You should not try to download build artifacts from a previous GitHub Actions run using the
gh run downloadcommand.clice-llvm/release.lua
Lines 137 to 144 in 52af132