Logo
Explore Help
Register Sign In
actions/act
2
0
Fork 0
You've already forked act
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
cfedc518ca02fd1aa395ad028a1b369f1ce2e5ed
act/pkg/jobparser/testdata/has_with.in.yaml

16 lines
241 B
YAML
Raw Normal View History

Add `With` field to `jobparser.Job` (#37) 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) 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>
2023-04-04 10:59:53 +08:00
name: test
jobs:
job1:
name: job1
runs-on: linux
uses: .gitea/workflows/build.yml
with:
package: service
job2:
name: job2
runs-on: linux
uses: .gitea/workflows/build.yml
with:
package: module
Reference in New Issue Copy Permalink
Powered by DevStar Version: 4f60c15 Page: 19ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API ©Mengning Software . 2024-2025 All rights reserved. 苏ICP备2024068144号-3