taiki-e / upload-rust-binary-action

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

Question: skip `tag` check? #71

Closed linrongbin16 closed 7 months ago

linrongbin16 commented 7 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 7 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 7 months ago

thank you!