Problem: this build takes almost 1 hour to complete. When releasing a new version, we have to build at least 2 times: once on the main branch (which has the build_type variables set to the value staging) triggered by a code push (usually a PR merge) and another time for the release, triggered by the tag creation when publishing the draft "GitHub Release".
We would want to avoid deploy often, and as soon as possible:
- Avoid rebuilding 2 times
- Automatically triggering releases