taiki-e / upload-rust-binary-action

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

Question: skip `tag` check? #71

Closed linrongbin16 closed 3 months ago

linrongbin16 commented 3 months ago

I want to build nightly executables, so the action is not running on a tag.

How to skip the tag check?

taiki-e commented 3 months ago

I believe this is a duplicate of https://github.com/taiki-e/upload-rust-binary-action/issues/34.

Since GitHub releases are associated with tags, to know which release to upload binaries to, we need information about the tag.

It refers to GITHUB_REF by default, but you can specify this using the ref input option. Therefore, you can upload binaries from any event by specifying the ref input option.

See also https://github.com/taiki-e/upload-rust-binary-action#supported-events.

linrongbin16 commented 3 months ago

thank you!