diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 7dca3bc70ab..3ed2243951e 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/