variation of GitHub Workflow YAML syntax
learning GitHub Actions and reading GitHub Docs;
as I am JavaScript developer, find some variation of defining yaml file so sharing my findings here.
this works fine and my final syntax
but before reaching on this; I have tried various syntax which also work, although these variation have some significance while below might be works as default, we can control the workflow using above.
assigning branches
in array []
also one liner on
also works
using without branches
and run-name
;
assign value using string
value in array []
also works
check value against on