Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out a good syntax for "workflow level job includes" #15

Open
mithro opened this issue Mar 14, 2021 · 1 comment
Open

Figure out a good syntax for "workflow level job includes" #15

mithro opened this issue Mar 14, 2021 · 1 comment

Comments

@mithro
Copy link
Owner

mithro commented Mar 14, 2021

No description provided.

@mithro mithro closed this as completed in 0faafd6 Mar 15, 2021
@mithro mithro reopened this Mar 15, 2021
@mithro
Copy link
Owner Author

mithro commented Mar 15, 2021

0faafd6 adds support which works in a similar way to the actions stuff. See;

jobs:
First:
includes: ./tests/includes/workflows/basic
with:
message: 'Hello World'
use-first: true
Second:
includes: ./tests/includes/workflows/basic
with:
message: 'Hello World'
use-first: false
use-last: true
null:
includes: ./tests/includes/workflows/basic
with:
message: 'Hello World'
use-first: true
use-last: true

I'm not sure I like this syntax and there is an open question around how job names should work (and particularly around how they interact with the uses syntax).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant