Document features and changes for phase 2.5 of master/main transition (#15745)
This commit is contained in:
@@ -24,7 +24,7 @@ Nonzero value | `failure` | Any other exit code indicates the action failed. Whe
|
||||
|
||||
### Setting a failure exit code in a JavaScript action
|
||||
|
||||
If you are creating a JavaScript action, you can use the actions toolkit [`@actions/core`](https://github.com/actions/toolkit/tree/master/packages/core) package to log a message and set a failure exit code. For example:
|
||||
If you are creating a JavaScript action, you can use the actions toolkit [`@actions/core`](https://github.com/actions/toolkit/tree/main/packages/core) package to log a message and set a failure exit code. For example:
|
||||
|
||||
```javascript
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user