mirror of https://github.com/actions/toolkit
Fix readme
parent
8b9dfa809b
commit
80fc75ef9c
|
@ -85,9 +85,9 @@ This library can also wrap chunks of output in foldable groups.
|
||||||
const core = require('@actions/core')
|
const core = require('@actions/core')
|
||||||
|
|
||||||
// Manually wrap output
|
// Manually wrap output
|
||||||
core.groupStart('Do some function')
|
core.startGroup('Do some function')
|
||||||
doSomeFunction()
|
doSomeFunction()
|
||||||
core.groupEnd()
|
core.endGroup()
|
||||||
|
|
||||||
// Wrap an asynchronous function call
|
// Wrap an asynchronous function call
|
||||||
const result = await core.group('Do something async', async () => {
|
const result = await core.group('Do something async', async () => {
|
||||||
|
|
Loading…
Reference in New Issue