mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-18 16:11:07 +08:00
core: Update "core.error" documentation (#905)
Change the `core.error` documentation to say that it won't automatically fail the action. This matches the existing example in the "logging" section
This commit is contained in:
parent
34577b269e
commit
71a6fceb8c
@ -121,7 +121,7 @@ const result = await core.group('Do something async', async () => {
|
||||
|
||||
This library has 3 methods that will produce [annotations](https://docs.github.com/en/rest/reference/checks#create-a-check-run).
|
||||
```js
|
||||
core.error('This is a bad error. This will also fail the build.')
|
||||
core.error('This is a bad error, action may still succeed though.')
|
||||
|
||||
core.warning('Something went wrong, but it\'s not bad enough to fail the build.')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user