One thing that caught me out was that you can’t reference other actions from within your composite action. Both the name “composite action” and the fact this post talks about “nesting actions within actions” led me astray for a while.
The crucial bit is that right now “uses” is not supported in a composite action. You can basically only use it to create a new action from several shell commands.
Just popping this here so others don’t go down that path of trying to refactor their workflows.
You are right, I should probably ass that to the article.
The reason why I haven't ephatsized that much is because the support for uses was to be added soon at the time I wrote the article and made the video. However, apparently the team's backlog has shifted and it's still not supported -_-'
Ah yeah I see it now. 👍 I guess the name makes more sense if their plan was to add support for “uses”. It’s a shame they’ve not been able to implement it yet though, it would be a nice feature.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
One thing that caught me out was that you can’t reference other actions from within your composite action. Both the name “composite action” and the fact this post talks about “nesting actions within actions” led me astray for a while.
The crucial bit is that right now “uses” is not supported in a composite action. You can basically only use it to create a new action from several shell commands.
Just popping this here so others don’t go down that path of trying to refactor their workflows.
You are right, I should probably ass that to the article.
The reason why I haven't ephatsized that much is because the support for
uses
was to be added soon at the time I wrote the article and made the video. However, apparently the team's backlog has shifted and it's still not supported -_-'Can now use other actions:
github.blog/changelog/2021-08-25-g...
Yes, I’ve already made an article and a video about this new feature : dev.to/n3wt0n/create-github-action...
I've just double checked and in fact I do mention that in the "Unsupported Features" section :)
Ah yeah I see it now. 👍 I guess the name makes more sense if their plan was to add support for “uses”. It’s a shame they’ve not been able to implement it yet though, it would be a nice feature.