Closed ostoe closed 1 year ago
tar: none
The default for tar
option is unix
and the default for zip
option is windows
. In the current implementation, even if you set tar
option to none
, zip
option is not automatically changed to all
[^1], so I think you need to specify zip: all
option.
[^1]: I think we can improve the behavior on this, but silent conversion to all
may make it difficult to support other compressed formats in the future, so it would make sense to make an explicit error for now.
Thank you for your reply, I understand what you mean, but if I want to upload directly without any packaging or compression, how should I configure it, or whether it is currently supported?
"no archive" is not yet officially supported (https://github.com/taiki-e/upload-rust-binary-action/issues/6 is tracking issue for it), but it may be possible to work around that limitation by using the asset option.
Hi~ when i push my code to trigger the gitflow, i receive the error :
requires at least 2 arg(s), only received Error: Command failed: bash --noprofile --norc /home/runner/work/_actions/taiki-e/upload-rust-binary-action/v1/main.sh
Did i do something wrong? Please help me, Ths!
relevant yml: