Closed braem closed 2 years ago
So to clarify, both PR and release should build the FGDs, but only release should cut a GitHub release given the manual input version. The release can also manually upload the artifacts as a backup if something goes wrong with the release.
Grabs the artifact from the latest successful workflow run together with a required input version to create a release.
No body in releases for now as this is mainly for getting our game release CI to easily pull the latest FGD/hammer content. Can upkeep a
CHANGELOG_CURRENT.md
and use that as a body path in the future if we do want a changelog listing.This uploads the artifacts for momentum and p2ce in separate ZIP files for their respective game release CIs. An example of this can be seen on my fork: https://github.com/braem/HammerAddons/releases/latest
Our games release CIs can now pull their respective FGD/hammer content as a ZIP from a static URL. Eg: https://github.com/braem/HammerAddons/releases/latest/download/fgd-momentum.zip