Add With field to jobparser.Job #37

Merged
lunny merged 3 commits from Zettat123/act:job-with into main 2023-04-04 02:59:53 +00:00
Member

Partially Fixes gitea/act_runner#91 comment

nektos/act has added With to support reusable workflows (see code)

GitHub actions also support jobs.<job_id>.with

Partially Fixes [gitea/act_runner#91 comment](https://gitea.com/gitea/act_runner/issues/91#issuecomment-734544) nektos/act has added `With` to support reusable workflows (see [code](https://github.com/nektos/act/blob/68c72b9a51f4fa586af62619f9e6361e023a5d48/pkg/model/workflow.go#L160)) GitHub actions also support [`jobs.<job_id>.with`](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idwith)
Zettat123 added 1 commit 2023-04-03 09:19:15 +00:00
support parsing with
All checks were successful
checks / check and test (pull_request) Successful in 1m24s
d4d9a70f99
lunny approved these changes 2023-04-03 10:18:35 +00:00
Zettat123 added 1 commit 2023-04-03 10:54:51 +00:00
update test
Some checks failed
checks / check and test (pull_request) Failing after 35s
05f03d11b9
Zettat123 added 1 commit 2023-04-04 02:47:17 +00:00
fix test
All checks were successful
checks / check and test (pull_request) Successful in 34s
5d69c6ab3d
lunny approved these changes 2023-04-04 02:58:53 +00:00
lunny merged commit cfedc518ca into main 2023-04-04 02:59:53 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/act#37
No description provided.