Skip to content

FR: Skip (implicit) "Post" step if run is canceled #121

@vorburger

Description

@vorburger

I've noticed (e.g. here) that when GitHub cancels a run (because of this cancel-in-progress: true etc.) then the Post Cache Bazel step still runs, for 47s, and saves cache artifacts.

Other actions such as notably https://github.com/actions/cache however seem to have some built-in magic which makes their Post... step being skipped somehow - the GitHub UI shows those with a striken through (/) sort of icon (whereas Post Bazel Cache is ☑️).

Perhaps it would be possible to implement whatever does this skipping in this action as well?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions