Skip to content

Commit a276036

Browse files
committed
proper logging??
1 parent 1d084fb commit a276036

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

dev-packages/size-limit-gh-action/index.mjs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@ async function run() {
230230

231231
try {
232232
core.startGroup('Downloading base results');
233-
core.debug(ARTIFACT_NAME);
234-
core.debug(comparisonBranch);
235-
core.debug(__dirname);
236-
core.debug(`${process.env.GITHUB_WORKFLOW || ''}`);
233+
core.warning(ARTIFACT_NAME);
234+
core.warning(comparisonBranch);
235+
core.warning(__dirname);
236+
core.warning(`${process.env.GITHUB_WORKFLOW || ''}`);
237237
core.endGroup();
238238

239239
// Ignore failures here as it is likely that this only happens when introducing size-limit
@@ -246,12 +246,12 @@ async function run() {
246246
workflowEvent: 'push',
247247
workflowName: `${process.env.GITHUB_WORKFLOW || ''}`,
248248
});
249-
core.debug('Downloaded base results');
250-
core.debug(res);
249+
core.warning('Downloaded base results');
250+
core.warning(res);
251251
base = JSON.parse(await fs.readFile(resultsFilePath, { encoding: 'utf8' }));
252252
} catch (error) {
253253
core.startGroup('Warning, unable to find base results');
254-
core.debug(error);
254+
core.warning(error);
255255
core.endGroup();
256256
}
257257

0 commit comments

Comments
 (0)