TGViewer
CatOps CatOps @catops · 5.07K subscribers
Post #2038 2.02K
It's been a while since we had some practical materials here.

So, here's an article that helped me a lot today. It's about how to split outputs of a GitHub Actions step into an array that is suitable for a matrix property of a GHA job.

You see, the problem is that GHA don't have a native "split" functionality. So, you need a way to work around it. Moreover, that fromJson() function is important there, 'coz otherwise it doesn't work.

This could be useful if you need to run multiple jobs based on, for example, changed files. Also, here's a bonus article on how to get the changed files in GHA without 3rd party Actions.

P.S. Well... One can hate Jenkins until they need to write some more or less custom logic in a YAML-based CI.

#github #cicd
DEV Community Get changed files in github actions In the search of a proper way to lint our pull request (changes only). I came across some Github Acti...
  • 🔥 5
  • 🤔 1
More from @catops
  1. Oct 16, 2026While I’m still enjoying my vacation, this CVE is too interesting to pass by. PwnEscape: G…
  2. Oct 8, 2026I’m going on a vacation, which means that I likely won’t post at all or post something ver…
  3. Oct 6, 2026A colleague of mine wrote an article about data migrations. Handling data migrations witho…
  4. Oct 1, 2026​​I traded my personal information for this report, so you don’t have to! DataDog presents…
  5. Sep 29, 2026A Cybersecurity books bundle by O’Reilly on Humble Bundle. The bundle is fresh and is stil…
  6. Sep 28, 2026​​For today’s Donations Monday, I’d like to remind you about a fundraiser for a pickup tru…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →