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

2
dist/index.js vendored
View File

@@ -53,7 +53,7 @@ const fs = __importStar(__nccwpck_require__(7147));
let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || '';
const EnhancedOctokit = utils_1.GitHub.plugin(plugin_throttling_1.throttling);
const githubToken = core.getInput('github-token');
const failFast = core.getInput('fail-fast') === 'true' ? true : false;
const failFast = core.getBooleanInput('fail-fast');
let options = {
throttle: {
onRateLimit: (retryAfter, opts) => {