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

Add publish operator #3724

Closed
wants to merge 1 commit into from
Closed

Add publish operator #3724

wants to merge 1 commit into from

Conversation

bentsherman
Copy link
Member

Closes #1540

Signed-off-by: Ben Sherman <[email protected]>
Comment on lines +30 to +32
foo()
foo.out[0] | publish('.', mode: 'move')
foo.out[1] | publish('outputs', mode: 'copy')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be interesting to also support publish on a ChannelOut e.g. foo | publish

@pditommaso pditommaso force-pushed the master branch 2 times, most recently from 0d59b4c to b93634e Compare March 11, 2023 11:20
@jmonroynieto
Copy link
Contributor

What behavior would this have with an included process with publishDir defined? As a user, my first instinct would be that the workflow call should override it.

@bentsherman
Copy link
Member Author

I suspect that using both would cause a race condition. I didn't add any logic to coordinate / deduplicate publishing tasks.

@pditommaso
Copy link
Member

Closing as not planned

@pditommaso pditommaso closed this Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publish operator
3 participants