Closed falquaddoomi closed 4 months ago
Actually, now I'm not so sure; it seems there are multiple downsides to using composite actions, including:
I think I'm going to close this for now and perhaps reopen if we find a reason to switch from a reusable workflow to a composite action. The work so far was pushed to the branch issue-35-deploy-composite-action
for future reference.
I originally implemented #30 (issue #5) using a "helper" workflow to deploy GCP functions,
.github/workflows/helper-deploy-func.yaml
, that gets invoked via a workflow trigger by the workflows for specific functions.Some time after, I stumbled across custom actions, specifically Composite Actions, which are IMHO a more elegant solution to reusing a bunch of steps with parameters than a "helper" workflow.
I've started refactoring the workflow as a composite action, and I thought I'd create an issue first to track the work.