Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Feb 4, 2025
1 parent 3220585 commit 6869281
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ function getInputs() {
return {
workingDirectory: getInputDefault("working-directory", null),
test: core.getBooleanInput("test"),
color: core.getBooleanInput("color"),
stackArguments: getShellWordsInput("stack-arguments"),
stackSetupArguments: getShellWordsInput("stack-setup-arguments"),
stackQueryArguments: getShellWordsInput("stack-query-arguments"),
Expand Down Expand Up @@ -417,6 +418,9 @@ const hie_1 = __nccwpck_require__(5986);
async function run() {
try {
const inputs = (0, inputs_1.getInputs)();
if (inputs.color) {
inputs.stackArguments.unshift("--color=always");
}
if (inputs.workingDirectory) {
core.debug(`Change directory: ${inputs.workingDirectory}`);
process.chdir(inputs.workingDirectory);
Expand Down

0 comments on commit 6869281

Please sign in to comment.