Use core.getBooleanInput (#280)

* Use core.getBooleanInput

* Update test
This commit is contained in:
Imran Ismail
2022-10-17 02:22:29 +08:00
parent 9fc5df9b9d
commit 34490be6e7
4 changed files with 4 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || ''
const EnhancedOctokit = GitHub.plugin(throttling)
const githubToken = core.getInput('github-token')
const failFast = core.getInput('fail-fast') === 'true' ? true : false
const failFast = core.getBooleanInput('fail-fast')
let options: OctokitOptions = {
throttle: {