Skip to content

Commit

Permalink
Merge pull request #8 from noah1510/master
Browse files Browse the repository at this point in the history
allowing multiple options and setup-options
  • Loading branch information
BSFishy authored Jan 11, 2021
2 parents 8a89588 + d92ba42 commit 6f1930d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1037,15 +1037,15 @@ function processArgs() {
const setupOptionsTmp = core.getInput(SETUP_OPTIONS);
core.debug(`Processing setup options argument: ${setupOptionsTmp}`);
if (setupOptionsTmp.length > 0) {
setupOptions = setupOptionsTmp;
setupOptions = setupOptionsTmp.split(" ");
}
else {
setupOptions = undefined;
}
const optionsTmp = core.getInput(OPTIONS);
core.debug(`Processing options argument: ${optionsTmp}`);
if (optionsTmp.length > 0) {
options = optionsTmp;
options = optionsTmp.split(" ");
}
else {
options = undefined;
Expand Down Expand Up @@ -1815,4 +1815,4 @@ main_1.run();

/***/ })

/******/ });
/******/ });
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ function processArgs() {
const setupOptionsTmp: string = core.getInput(SETUP_OPTIONS);
core.debug(`Processing setup options argument: ${setupOptionsTmp}`);
if (setupOptionsTmp.length > 0) {
setupOptions = setupOptionsTmp;
setupOptions = setupOptionsTmp.split(" ");
} else {
setupOptions = undefined;
}

const optionsTmp: string = core.getInput(OPTIONS);
core.debug(`Processing options argument: ${optionsTmp}`);
if (optionsTmp.length > 0) {
options = optionsTmp;
options = optionsTmp.split(" ");
} else {
options = undefined;
}
Expand Down

0 comments on commit 6f1930d

Please sign in to comment.