taiki-e / upload-rust-binary-action

GitHub Action for building and uploading Rust binary to GitHub Releases.
Apache License 2.0
235 stars 20 forks source link

include directory to archive #25

Closed hulxv closed 2 years ago

hulxv commented 2 years ago

is it possible to include a directory in the archive by 'include' property?

taiki-e commented 2 years ago

I hadn't tested it yet, but we use -r flag on cp, so it should work.

https://github.com/taiki-e/upload-rust-binary-action/blob/2ef6065015f8372403d76e6a1fb2f8094c5d6f18/main.sh#L206

hulxv commented 2 years ago

Ok, thanks for your response. I will try that