You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub introduced something called composite run steps, which gave me such high hopes for abstracting repeatable steps that are used in multiple workflows.
For example, this would allow things like like cloning a repo, configuring node, installing / caching dependencies, etc. to be extracted into a referenceable YAML file and then "sucked into" in a test workflow and a release workflow, which both need to do all of those thing. This would help with the GitHub action copy / paste fatigue and help keep things DRY.
Unfortunately, this is not possible as you can't use uses (any many other things, as seen here and as mentioned in actions/runner#646). You can really only run shell commands, which is cool and a step in the right direction, but quite limiting. 😞
Sounds like GitHub is actively working on it, so here's to hoping! 🤞
The text was updated successfully, but these errors were encountered:
GitHub introduced something called composite run steps, which gave me such high hopes for abstracting repeatable steps that are used in multiple workflows.
For example, this would allow things like like cloning a repo, configuring node, installing / caching dependencies, etc. to be extracted into a referenceable YAML file and then "sucked into" in a
test
workflow and arelease
workflow, which both need to do all of those thing. This would help with the GitHub action copy / paste fatigue and help keep things DRY.Unfortunately, this is not possible as you can't use
uses
(any many other things, as seen here and as mentioned in actions/runner#646). You can really only runshell
commands, which is cool and a step in the right direction, but quite limiting. 😞Sounds like GitHub is actively working on it, so here's to hoping! 🤞
The text was updated successfully, but these errors were encountered: