Skip to content

Step conditions using !cancelled() need explict success check #117

@genehack

Description

@genehack

Current Behavior

Slack context

- name: Run phylogenetic
if: hashFiles('phylogenetic/Snakefile') && hashFiles('phylogenetic/build-configs/ci/config.yaml') && !cancelled()
id: phylogenetic
run: nextstrain build phylogenetic --configfile build-configs/ci/config.yaml
- name: Run nextclade
if: hashFiles('nextclade/Snakefile') && hashFiles('nextclade/build-configs/ci/config.yaml') && !cancelled()
id: nextclade
run: nextstrain build nextclade --configfile build-configs/ci/config.yaml

Expected behavior

The Conda build step failing should abort the rest of the workflow

Possible solution

  • Add an explicit success() check
  • ??

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions