diff --git a/dist/index.js b/dist/index.js index ff5b38c..cd9069b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -924,7 +924,7 @@ const waitMilliseconds = 60000; const limiter = new bottleneck_1.default(); limiter.on('failed', (error, jobInfo) => __awaiter(void 0, void 0, void 0, function* () { const id = jobInfo.options.id; - core.info(`Job '${id}' failed: ${error}`); + core.warning(`Job '${id}' failed: ${error}`); if (error.message in retryableErrors && jobInfo.retryCount < maxRetries) { core.info(`Retrying job '${id}' in ${waitMilliseconds}ms`); return waitMilliseconds + randomFromInterval(0, 10000); diff --git a/src/git-push-retry.ts b/src/git-push-retry.ts index 2993795..7da54a0 100644 --- a/src/git-push-retry.ts +++ b/src/git-push-retry.ts @@ -12,7 +12,7 @@ const limiter = new Bottleneck() limiter.on('failed', async (error, jobInfo) => { const id = jobInfo.options.id - core.info(`Job '${id}' failed: ${error}`) + core.warning(`Job '${id}' failed: ${error}`) if (error.message in retryableErrors && jobInfo.retryCount < maxRetries) { core.info(`Retrying job '${id}' in ${waitMilliseconds}ms`)