-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Action artifacts
output is empty
#368
Comments
/cc @johanbrandhorst |
weird, I'll have to investigate... meanwhile, you should be able to replace the cc/ @crazy-max |
Thanks for the tip and quick response! |
the @johanbrandhorst I'll send a PR for this temporary fix |
It seems to be populated in action ci: https://github.com/goreleaser/goreleaser-action/runs/8013357311?check_suite_focus=true#step:5:54 Code looks good too: goreleaser-action/src/goreleaser.ts Line 90 in ef54bd4
@laurentsimon Looking at logs in your workflow it doesn't seem generated: https://github.com/laurentsimon/grpc-gateway/runs/8019761254?check_suite_focus=true#step:4:50. Maybe there is an issue parsing your goreleaser yaml file in goreleaser-action/src/goreleaser.ts Lines 85 to 86 in ef54bd4
|
@johanbrandhorst wrote the config file. The artifacts are successfully generated by goreleaser: does this not mean goreleaser understands the config? Or does it silently discard some fields if it does not understand them? |
Here are the generated binaries https://github.com/laurentsimon/grpc-gateway/releases/tag/v2.0.4 |
judging by this, seems like the action might allow it... the yaml is valid for goreleaser though, as it successfully executed... @crazy-max maybe the ts yaml library is failing somehow? can we add a test using @laurentsimon's config file, and maybe log the error - or exit if parse fails? wdyt? |
Fyi, this is the original config I was trying to debug https://github.com/grpc-ecosystem/grpc-gateway/blob/master/.goreleaser.yml |
Yes this might be an issue with ts-yaml, I will take a look. |
Thanks for the quick fix! |
What happened?
I use the goreleaser Action. It seems like the
artifacts
output variable (https://github.com/goreleaser/goreleaser-action/blob/master/action.yml#L31) is empty. AFAIK, this used to work in the sense that this variable was populated (I tested over the past few weeks without encountering this problem).See the test workflow here: https://github.com/laurentsimon/grpc-gateway/blob/master/.github/workflows/release.yml#L22-L43 and its failing run https://github.com/laurentsimon/grpc-gateway/runs/8019761254?check_suite_focus=true
Please let me know if I'm missing something. Thank you!
How can we reproduce this?
use the example workflow linked in the description.
goreleaser version
GoReleaser Check
Search
Code of Conduct
Additional context
No response
The text was updated successfully, but these errors were encountered: