… until I found out that
if still can’t be used. So there’s no way to skip a
uses step within a composite action if it’s not needed.
My use case is a “setup tools” action that will install and setup caches for the versions of PHP, Composer, Node, and Pnpm we need by reading them from a config file in the repo. But some actions only need PHP or Node, it’d be nice to skip installing the one we don’t need.
For those who haven’t seen the announcement yet: GitHub Actions: Reduce duplication with action composition | GitHub Changelog