Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeela Lifshitz authored and Yeela Lifshitz committed Aug 21, 2024
1 parent 7ce3294 commit 8255b8d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions scripts/check-cache-download-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 8255b8d

Please sign in to comment.