Closed linrongbin16 closed 7 months ago
I try to fork this repo and publish a fork action
linrongbin16/upload-rust-binary-action@v1
(https://github.com/marketplace/actions/build-and-upload-rust-binary-to-github-releases-linrongbin16-testing). When using it in another repo, the CI reportsv1
is not exist.
Publish to the marketplace is unneeded. You can use your branch: linrongbin16/upload-rust-binary-action@feat-bin-dir
Publish to the marketplace is unneeded. You can use your branch: linrongbin16/upload-rust-binary-action@feat-bin-dir
I tested with this CI (randomly add some combinations on 'leading-dir' and 'bin-leading-dir'):
and the build assets are:
https://github.com/linrongbin16/cargo-ci-template.rs/releases/tag/v0.4.36
They all look good!
@taiki-e would you take a look?
Published in 1.20.0.
Resolve #72 .
This PR add a new option:
bin-leading-dir
, which allow user customize where to put thebin
(e.g. executable binary file(s)) in the archive.TODO:
leading-dir
andbin-leading-dir
, but more likeinclude
is possible)Update: I finished development, and the passed all tests in the CI.
But still, how to verify the built
tar.gz
andzip
packages? to make sure they contains the directory structure as we are expecting?I try to fork this repo and publish a fork action
linrongbin16/upload-rust-binary-action@v1
(https://github.com/marketplace/actions/build-and-upload-rust-binary-to-github-releases-linrongbin16-testing). When using it in another repo, the CI reportsv1
is not exist.