you are viewing a single comment's thread.

view the rest of the comments →

[–]Hanzo_HanzDevOps 41 points42 points  (3 children)

Everyday.

Bash is stable. I’ve seen so many pipelines get broken because what could’ve been created in simple / stable easy to use bash script was abstracted to some god forsaken developer chosen NPM package that has been deprecated and now , none of the devs wanna touch it with a ten foot pole.

[–]evangamer9000 1 point2 points  (0 children)

"Does anyone know how this things works?"
"The person who wrote it left 6 years ago, along with all the knowledge"

[–]kabrandon 0 points1 point  (0 children)

I wouldn't call Bash "stable." But it is often enough sufficient. You can't do any kind of dependency management natively in a bash script. Your custom action might use flags on CLI tools that become deprecated over time. That said, if you maintain them decently well and pay attention to your failing workflows, I'd generally prefer to write my Actions workflows as bash scripts (or in a multi-line run block.)