-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload failed with warning: UPLOAD_MODE "release" was specified but no URL to upload to could be detected #46
Comments
The workflow only has access to release data when triggered by a release event (you set which events trigger the workflow in the |
Hi. In my case, releases are created by https://github.com/softprops/action-gh-release for pushed tags automatically. And the |
Hi, |
Thank you. Yes, I used this until I figured out that i plus also call this as a separate workflow when the release is published. That is also a neat workaround. |
Rust github action fails to publish with `Warning: UPLOAD_MODE "release" was specified but no URL to upload to could be detected` if the workflow is not triggered by a release event. - rust-build/rust-build.action#63 - rust-build/rust-build.action#46
Got an error that matches [this issue](rust-build/rust-build.action#46), attempting the workaround mentioned
Hi, thanks for creating this github action.
I've tried to set it up on this repo: https://github.com/timabell/gitopolis/actions (the main > release workflow yml files)
I've run into the following warning message and no release has appeared and I'm a bit stumped:
Warning: UPLOAD_MODE "release" was specified but no URL to upload to could be detected
(build log)I've followed the action's readme as best I can.
I see from
rust-build.action/entrypoint.sh
Line 61 in b369eae
release.upload_url
from the event json file, and looking at my build output there's no mention of that. I'm not sure why it's not there.It's a brand new and didn't have any releases. I created a "pre-release" release but that didn't help. (I wondered if github only set that up if you have any releases). I'll keep trying and post an update here for the benefit of the internet if I figure anything else out.
Research:
The text was updated successfully, but these errors were encountered: