mirror of https://github.com/actions/toolkit
Add core.info to Logging section
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…
Reference in New Issue