Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

rust-release: exclude cargo-timing.html from release assets (#11564)

Michael Bolin26d9bddc52f8
diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml
index 7dca3bc70a..3ed2243951 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/