You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @regadas! Thanks for all your work on this. I have an issue and would like your thoughts on it.
I currently have an open PR to support reusable workflows but it only adds the types needed. To call a reusable workflow, it has to be done on the job level so a uses key will be used instead of steps. My initial thought is to make jobs.steps and jobs.runs-onOptional but this will break existing workflows (including ours) since they have to be changed to Optional values. What's your take on this?
My current work around is to merge the records e.g.
GithubActions.Workflow::{
...
, jobs = [] : List { mapKey : Text, mapValue : GithubActions.Job.Type }
}
// { jobs = toMap { job1.uses = "my-reusable-workflow@master" } }
The text was updated successfully, but these errors were encountered:
Hi @regadas! Thanks for all your work on this. I have an issue and would like your thoughts on it.
I currently have an open PR to support reusable workflows but it only adds the types needed. To call a reusable workflow, it has to be done on the job level so a
uses
key will be used instead ofsteps
. My initial thought is to makejobs.steps
andjobs.runs-on
Optional
but this will break existing workflows (including ours) since they have to be changed toOptional
values. What's your take on this?My current work around is to merge the records e.g.
The text was updated successfully, but these errors were encountered: