This composite action is now officially at the same level as JavaScript actions. #7
AnimMouse
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It has been a long journey since I started this GitHub action as a scripter, ever since GitHub Actions was released in 2019, I always wanted to create a GitHub action, but being just a scripter, the slowness of Docker based actions or learning JavaScript in order to create a GitHub action made me lost the desire to create a GitHub action.
Fast-forward to 2020, GitHub Actions released composite actions, which instead of GitHub action written in JavaScript, composite action is written on scripting languages, which I was proficient on as a scripter, and combining the speed of JavaScript based action compared to Docker based action, this gave me hope to write a GitHub action, because of this, I have written my first GitHub action named setup-youtube-dl.
But this is not yet at the same level as JavaScript actions, since the if conditionals did not exist on composite actions at that time, this made my GitHub action not cross-platform. Fast-forward to 2021, composite actions has gained if conditionals, composite actions are now one step away from being at the same level as JavaScript actions with the introduction of cross-platform.
Caching tools via tool-cache is now the last step with making composite actions with the same level as JavaScript actions, we have actions/cache but it is impossible to use in a composite actions because you do not have any control on the
post:
step. Fast-forward to 2022, granular cache control is now implemented at actions/cache, this allows composite actions to have control on GitHub Actions cache. At this point, composite actions are now as fast and as featured with JavaScript actions.With the release of v1.6.0 of setup-rclone, this action is now as fast as an equivalent JavaScript based action.
Beta Was this translation helpful? Give feedback.
All reactions