mirror of
https://code.forgejo.org/pnpm/action-setup.git
synced 2025-06-13 23:51:11 +00:00
Make logs foldable
This commit is contained in:
parent
6eb237a86d
commit
83681c63a7
4 changed files with 11 additions and 6 deletions
|
@ -1,11 +1,13 @@
|
|||
import { setFailed } from '@actions/core'
|
||||
import { setFailed, startGroup, endGroup } from '@actions/core'
|
||||
import { Inputs } from '../inputs'
|
||||
import runSelfInstaller from './run'
|
||||
|
||||
export { runSelfInstaller }
|
||||
|
||||
export async function install(inputs: Inputs) {
|
||||
startGroup('Running self-installer...')
|
||||
const status = await runSelfInstaller(inputs)
|
||||
endGroup()
|
||||
if (status) {
|
||||
return setFailed(`Something does wrong, self-installer exits with code ${status}`)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue