Setup group
This commit is contained in:
parent
5287680297
commit
185472816e
@ -18,8 +18,10 @@ import {
|
|||||||
} from './utils'
|
} from './utils'
|
||||||
|
|
||||||
export async function run(): Promise<void> {
|
export async function run(): Promise<void> {
|
||||||
|
core.startGroup('changed-files')
|
||||||
|
|
||||||
const env = await getEnv()
|
const env = await getEnv()
|
||||||
core.debug(`Env: ${JSON.stringify(process.env, null, 2)}`)
|
core.debug(`Env: ${JSON.stringify(env, null, 2)}`)
|
||||||
const inputs = getInputs()
|
const inputs = getInputs()
|
||||||
core.debug(`Inputs: ${JSON.stringify(inputs, null, 2)}`)
|
core.debug(`Inputs: ${JSON.stringify(inputs, null, 2)}`)
|
||||||
|
|
||||||
@ -371,6 +373,8 @@ export async function run(): Promise<void> {
|
|||||||
inputs
|
inputs
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
core.endGroup()
|
||||||
}
|
}
|
||||||
|
|
||||||
/* istanbul ignore if */
|
/* istanbul ignore if */
|
||||||
|
@ -200,7 +200,7 @@ export const gitFetch = async ({
|
|||||||
}): Promise<number> => {
|
}): Promise<number> => {
|
||||||
const {exitCode, stderr} = await exec.getExecOutput(
|
const {exitCode, stderr} = await exec.getExecOutput(
|
||||||
'git',
|
'git',
|
||||||
['fetch', ...args],
|
['fetch', '-q', ...args],
|
||||||
{
|
{
|
||||||
cwd,
|
cwd,
|
||||||
silent: true
|
silent: true
|
||||||
@ -224,7 +224,7 @@ export const gitFetchSubmodules = async ({
|
|||||||
}): Promise<void> => {
|
}): Promise<void> => {
|
||||||
const {exitCode, stderr} = await exec.getExecOutput(
|
const {exitCode, stderr} = await exec.getExecOutput(
|
||||||
'git',
|
'git',
|
||||||
['submodule', 'foreach', 'git', 'fetch', ...args],
|
['submodule', 'foreach', 'git', 'fetch', '-q', ...args],
|
||||||
{
|
{
|
||||||
cwd,
|
cwd,
|
||||||
silent: true
|
silent: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user