Skip to content

Didn't exit non-zero when it failed #36

@peterbe

Description

@peterbe

Unfortunately, I can't find the run now but what happened was:

  1. I set up this workflow and run it
  2. Oops I hadn't set up the NPM_AUTH_TOKEN
  3. As expected, the merge-release failed the build and I get a red X on the PR.
  4. Fix it and run again.
  5. It failed because I hadn't published the npm package initially from my machine. I.e. it had never ever been published before.
  6. merge-release succeeded and I got the green checkmark on the PR.

So, things like this clearly carries the exit code back out to entrypoint.sh.
But I think the exec() call does :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions