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

Document usage of continue-on-error for pipeline usage #24

Open
shrink opened this issue Jun 13, 2021 · 1 comment
Open

Document usage of continue-on-error for pipeline usage #24

shrink opened this issue Jun 13, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@shrink
Copy link
Member

shrink commented Jun 13, 2021

A pipeline might derive value from the result of passed (e.g: checking if a dist directory exists in order to allow a tag to be created). The continue-on-error option enables this use-case.

- id: is-built
  continue-on-error: true
  uses: pr-mpt/actions-assert@v2
  with:
    assertion: "npm://@assertions/directory-exists"
    actual: "dist"
@shrink shrink added the documentation Improvements or additions to documentation label Jun 13, 2021
@shrink shrink self-assigned this Jun 13, 2021
@shrink shrink removed their assignment Jun 13, 2021
@shrink shrink added this to the v3 milestone Jun 22, 2021
@shrink
Copy link
Member Author

shrink commented Jun 24, 2021

#56 should be the focus rather than continue-on-error which should be avoided because it ignores multiple types of error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant