From 8255b8da2dbf823abb4ffac0065be35f370c865a Mon Sep 17 00:00:00 2001 From: Yeela Lifshitz Date: Wed, 21 Aug 2024 13:56:50 +0300 Subject: [PATCH] format --- scripts/check-cache-download-status.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/scripts/check-cache-download-status.js b/scripts/check-cache-download-status.js index 0def0505..0a3cdd09 100644 --- a/scripts/check-cache-download-status.js +++ b/scripts/check-cache-download-status.js @@ -3,10 +3,17 @@ module.exports = core => { try { const { ARTIFACT_OUTCOME_ARG, ARTIFACT_OUTCOME_CM_REPO_ARG } = process.env - core.info(`ARTIFACT_OUTCOME_ARG Cache download status: ${ARTIFACT_OUTCOME_ARG}.`) - core.info(`ARTIFACT_OUTCOME_CM_REPO_ARG Cache download status: ${ARTIFACT_OUTCOME_CM_REPO_ARG}.`) + core.info( + `ARTIFACT_OUTCOME_ARG Cache download status: ${ARTIFACT_OUTCOME_ARG}.` + ) + core.info( + `ARTIFACT_OUTCOME_CM_REPO_ARG Cache download status: ${ARTIFACT_OUTCOME_CM_REPO_ARG}.` + ) - if (ARTIFACT_OUTCOME_ARG === 'failure' || ARTIFACT_OUTCOME_CM_REPO_ARG === 'failure') { + if ( + ARTIFACT_OUTCOME_ARG === 'failure' || + ARTIFACT_OUTCOME_CM_REPO_ARG === 'failure' + ) { core.exportVariable('CACHE_DOWNLOAD_FAILED', 'true') } else { core.exportVariable('CACHE_DOWNLOAD_FAILED', 'false')