GitHub files for upload #122
-
When triggering a workflow that uses this action, the version, changelog, and name are extracted from the GitHub release. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
There's no built-in way to do that, as users usually upload the same local files both to GitHub and other platforms. While I strongly recommend setting up a fully-featured CI that builds distributable files from scratch, instead of building those on your machine and then propagating them to platforms like GitHub, Modrinth, and/or CurseForge, so we can better avoid Fractureiser-like situations in the future, I understand that everybody's workflows differ. So, if you really need to propagate files manually uploaded to a GitHub Release, you can always use something like robinraju/release-downloader to download release files and then pass those back to mc-publish! |
Beta Was this translation helpful? Give feedback.
It's not mandatory by any means! :)
I looked into your workflows and can confirm that you can safely merge them into one. Moreover, you can replace
ncipollo/release-action
withmc-publish
and publish to both Modrinth and GitHub in one go.