mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-07 09:48:59 +08:00
Add core.info to Logging section
This commit is contained in:
parent
9e2d61e548
commit
7a1a0dd6fc
@ -89,6 +89,7 @@ try {
|
||||
}
|
||||
|
||||
// Do stuff
|
||||
core.info('Output to the actions build log')
|
||||
}
|
||||
catch (err) {
|
||||
core.error(`Error ${err}, action may still succeed though`);
|
||||
@ -143,4 +144,4 @@ const core = require('@actions/core');
|
||||
var pid = core.getState("pidToKill");
|
||||
|
||||
process.kill(pid);
|
||||
```
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user