From daba003d32f299579e9b89240aa8ebdc9f161424 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Thu, 12 Feb 2026 00:52:34 -0800 Subject: [PATCH] ci: exclude cargo-timing.html from GitHub release assets --- .github/workflows/rust-release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 7dca3bc70ab8..3ed2243951e4 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -424,6 +424,11 @@ jobs: run: | rm -rf dist/shell-tool-mcp* rm -rf dist/windows-binaries* + # cargo-timing.html appears under multiple target-specific directories. + # If included in files: dist/**, release upload races on duplicate + # asset names and can fail with 404s. + find dist -type f -name 'cargo-timing.html' -delete + find dist -type d -empty -delete ls -R dist/