-
Notifications
You must be signed in to change notification settings - Fork 43
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
RequestError [HttpError]: Not Found #13
Comments
Ah I figured it out! |
This is a wonderful example of how I (and others) fail when explaining something we are deep inside of. What I don't appear to say anywhere in the README is how a specific release is chosen. The opening bit of the example: on:
release:
types: [created] that is triggering on a release (it doesn't have to be Now I need to figure out how to make that clearer in the README. Might you have any suggestions for making that clearer? |
From the beginning I understood the action so that it would be possible to get the last release (regardless of when it was triggered). That I have to apply it absolutely and exclusively to the tag/release pipeline does not come from the readme (as you already said). For example, I use the following introduction to make it work: on:
push:
tags:
- '*' Perhaps it would make sense to generate a separate error message first that contains something like the following message: "Tag/Release pipeline used? -> see readme: https://github.com/bruceadams/get-release#example-workflow" Is it technically not possible to get the latest release via the API? I would put the following note in the readme: working:on:
push:
tags:
- '*' on:
release:
types: [created] not workingon:
push:
pull_request: |
This action also doesn't work if the release you're looking for is a draft. |
So how can I fix this error in my project? I have setup:
and then execute:
then failed with 404, I use version is: bruceadams/[email protected] |
Is there any way to get this working from a dispatch_workflow? -- I'd like to pass some other information into the build pipeline so I can't do it on tag / release creation in the cloud GUI |
I have a problem using the sample. I get the following error if I want to use your action in my workflow. Can you please help me getting this sample working?
foo.yml
The text was updated successfully, but these errors were encountered: