diff --git a/dist/index.js b/dist/index.js index 0276299cd..800d35a9c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4728,9 +4728,9 @@ function run() { auth.configAuthentication(registryUrl, alwaysAuth); } const matchersPath = path.join(__dirname, '..', '.github'); - console.log(`##[add-matcher]${path.join(matchersPath, 'tsc.json')}`); - console.log(`##[add-matcher]${path.join(matchersPath, 'eslint-stylish.json')}`); - console.log(`##[add-matcher]${path.join(matchersPath, 'eslint-compact.json')}`); + core.info(`##[add-matcher]${path.join(matchersPath, 'tsc.json')}`); + core.info(`##[add-matcher]${path.join(matchersPath, 'eslint-stylish.json')}`); + core.info(`##[add-matcher]${path.join(matchersPath, 'eslint-compact.json')}`); } catch (error) { core.setFailed(error.message); diff --git a/src/main.ts b/src/main.ts index 343327653..193eaeee9 100644 --- a/src/main.ts +++ b/src/main.ts @@ -46,11 +46,11 @@ export async function run() { } const matchersPath = path.join(__dirname, '..', '.github'); - console.log(`##[add-matcher]${path.join(matchersPath, 'tsc.json')}`); - console.log( + core.info(`##[add-matcher]${path.join(matchersPath, 'tsc.json')}`); + core.info( `##[add-matcher]${path.join(matchersPath, 'eslint-stylish.json')}` ); - console.log( + core.info( `##[add-matcher]${path.join(matchersPath, 'eslint-compact.json')}` ); } catch (error) {