Originally proposed by @matiaskorhonen in https://github.com/taiki-e/upload-rust-binary-action/issues/6#issuecomment-2325914626.