tidev / titanium-sdk

🚀 Native iOS and Android Apps with JavaScript
https://titaniumsdk.com/
Other
2.76k stars 1.21k forks source link

ci: backport trigger regen builds on release #13969

Closed cb1kenobi closed 10 months ago

cb1kenobi commented 10 months ago

Backport of https://github.com/tidev/titanium-sdk/pull/13968

The current regen builds workflow fires when a PR is created or push as well as when a GA release is created. This PR specifically fixes the GA release processes. When a release is created, it builds the release while also regenerating the builds. The regen builds finishes way before the release build finishes. This results in the release not showing up on downloads.titaniumsdk.com until the regen builds trigger is manually invoked.

This PR no longer regens builds when the release is created, but rather once the release has been approved and is fully released.