Skip to content

Clarify that you must use publish: to produce output files with new syntax #5273

@adamrtalbot

Description

@adamrtalbot

The new workflow outputs syntax just suggests you can use an output block to create outputs:

workflow {
    foo(bar())
}

output {
    directory 'results'
}

image

However, this isn't the case and you must use the publish: directive in the process or workflow syntax to make it work:

workflow {
    foo(bar())

    publish:
    foo.out >> 'foo'
}

output {
    directory 'results'
}

We should clarify the documentation to say this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions