mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-18 16:01:06 +08:00
Fix readme
This commit is contained in:
parent
8b9dfa809b
commit
80fc75ef9c
@ -85,9 +85,9 @@ This library can also wrap chunks of output in foldable groups.
|
||||
const core = require('@actions/core')
|
||||
|
||||
// Manually wrap output
|
||||
core.groupStart('Do some function')
|
||||
core.startGroup('Do some function')
|
||||
doSomeFunction()
|
||||
core.groupEnd()
|
||||
core.endGroup()
|
||||
|
||||
// Wrap an asynchronous function call
|
||||
const result = await core.group('Do something async', async () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user