Release assets not appearing #25347
-
Hi, I have a Github action setup to create a release and upload binaries to it, however I am experiencing some odd behaviour. If I view the release on the following URL I do not see any assets apart from the source code:
This is the URL that I can reach by clicking through the releases section in the Github UI. However, when the action has run I also receive an email from github saying that a new release has been created at:
This one has all the artifacts that I am expecting to see. As far as I can see, they are one and the same release. But they appear to have different URLs (One has an additional I don’t quite understand what’s going on here. Can anyone shed any light on this? Thanks, Andy |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @andymantell, Glad to see you in Github Community Forum!
It works on my side. Please check my workflow here. Thanks |
Beta Was this translation helpful? Give feedback.
-
Thanks @weide-zhou! I have made the changes you suggest and it’s now working perfectly. Thankyou very much for the quick response, very much appreciated. github.com/andymantell/govuk-frontend-diffFix release.yml to make sure binaries get associated with the releases
See https://github.community/t/release-assets-not-appearing/118148 Co-authored-by: weide-zhou <weide-zhou@outlook.com> |
Beta Was this translation helpful? Give feedback.
Hi @andymantell,
Glad to see you in Github Community Forum!
To add assets to an existing release, please use ‘edit’ instead of ‘create’ for command ‘hub release’.
Option ‘create’ will create a GitHub release for the specified TAG name. If git tag TAG does not exist, it will be created at TARGET (default: current branch).
Please fix code as below: