Skip to content

Commit

Permalink
fix to boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeela Lifshitz authored and Yeela Lifshitz committed Aug 15, 2024
1 parent 319f7a0 commit ccb9d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/getConditionVars.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ module.exports = core => {
const isNonCommitEvent = payload.isNonCommitEvent == true
const skipGitClone = isNonCommitEvent && ENABLE_CACHE_ARG == 'true'
core.exportVariable('IS_NON_COMMIT_EVENT', isNonCommitEvent.toString())
core.exportVariable('SKIP_GIT_CLONE', skipGitClone.toString())
core.exportVariable('SKIP_GIT_CLONE', skipGitClone)
} catch (error) {
core.setFailed(error.message)
core.exportVariable('IS_NON_COMMIT_EVENT', 'false')
core.exportVariable('SKIP_GIT_CLONE', 'false')
core.exportVariable('SKIP_GIT_CLONE', false)
}
}

0 comments on commit ccb9d6c

Please sign in to comment.