Setup group

This commit is contained in:
Tonye Jack 2023-05-23 00:57:37 -06:00
parent 5287680297
commit 185472816e
2 changed files with 7 additions and 3 deletions

View File

@ -18,8 +18,10 @@ import {
} from './utils'
export async function run(): Promise<void> {
core.startGroup('changed-files')
const env = await getEnv()
core.debug(`Env: ${JSON.stringify(process.env, null, 2)}`)
core.debug(`Env: ${JSON.stringify(env, null, 2)}`)
const inputs = getInputs()
core.debug(`Inputs: ${JSON.stringify(inputs, null, 2)}`)
@ -371,6 +373,8 @@ export async function run(): Promise<void> {
inputs
})
}
core.endGroup()
}
/* istanbul ignore if */

View File

@ -200,7 +200,7 @@ export const gitFetch = async ({
}): Promise<number> => {
const {exitCode, stderr} = await exec.getExecOutput(
'git',
['fetch', ...args],
['fetch', '-q', ...args],
{
cwd,
silent: true
@ -224,7 +224,7 @@ export const gitFetchSubmodules = async ({
}): Promise<void> => {
const {exitCode, stderr} = await exec.getExecOutput(
'git',
['submodule', 'foreach', 'git', 'fetch', ...args],
['submodule', 'foreach', 'git', 'fetch', '-q', ...args],
{
cwd,
silent: true