Create a reusable Github action
turion opened this issue · comments
Manuel Bärenz commented
It would be cool if there was a Github action that one could simply use like:
jobs:
get-tested:
name: Generate matrix
steps:
-uses: Kleidukos/get-tested/v1
build:
needs: get-tested
strategy:
matrix: ${{ fromJSON(needs.get-tested.outputs.matrix) }}
...
That way, one saves on code to write, and dependabot could automatically bump versions.
Hécate commented
Yep that would be wonderful. :)
If you got the motivation to do it, be my guest. Right now I have other life priorities, but there is clear value in having a reusable action!
Manuel Bärenz commented
See #23 , this seems to work :)
Hécate commented
I'm tweaking things to have the OS selection work, I'll let you know when it's ready to be used. :)