cfedc518ca
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](68c72b9a51/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)
Reviewed-on: https://gitea.com/gitea/act/pulls/37
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-committed-by: Zettat123 <zettat123@gmail.com>
17 lines
261 B
YAML
17 lines
261 B
YAML
name: test
|
|
jobs:
|
|
job1:
|
|
name: job1
|
|
runs-on: linux
|
|
uses: .gitea/workflows/build.yml
|
|
with:
|
|
package: service
|
|
---
|
|
name: test
|
|
jobs:
|
|
job2:
|
|
name: job2
|
|
runs-on: linux
|
|
uses: .gitea/workflows/build.yml
|
|
with:
|
|
package: module
|