mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-01-03 08:32:56 +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')
|
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…
x
Reference in New Issue
Block a user