openwrt / openwrt/actions-shared-workflows

reusable_upload-file-s3.yml is trying to download file that no longer exists

Open
#133 0 comments 0 reactions 1 assignee View on GitHub

@BKPepe is already working on this.

Since Sep 13, 2026.

Dominant language
No language data
Stars
12
Forks
29
Avg merge
3d 11h
Merged PRs (30d)
2

Description

actions-shared-workflows/.github/workflows/reusable_upload-file-s3.yml is trying to download "mc" from "dl.min.io" that no longer exists. It is getting a 410 error. The message on https://dl.min.io/client/mc/release/linux-amd64 claims it is no longer served or maintained. It looks like the replacement is "mcli" from https://github.com/pgsty/mc/releases. I think the replacement code will be something like what I have below but I cannot test it fully. The calls to "mc" will need to change to "mcli" as well.

# Get the latest release download URL for the linux_amd64 tarball
MC_URL=$(curl --fail --silent --show-error --location \
  https://api.github.com/repos/pgsty/mc/releases/latest \
  | grep "browser_download_url.*linux_amd64.tar.gz" \
  | cut -d '"' -f 4)

# Download the tarball
curl --fail --silent --show-error --location "$MC_URL" \
  -o /tmp/mcli.tar.gz

# Extract only the mcli binary, placing it at the expected 'mc' path
tar -xzf /tmp/mcli.tar.gz -O mcli > $GITHUB_WORKSPACE/minio-binaries/mcli

# Clean up the downloaded tarball
rm -f /tmp/mcli.tar.gz

chmod +x $GITHUB_WORKSPACE/minio-binaries/mcli

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.