Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Feb 21, 2024
1 parent 05c434e commit ea09173
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ function getInputs() {
cachePrefix: core.getInput("cache-prefix"),
cacheSaveAlways: core.getBooleanInput("cache-save-always"),
upgradeStack: core.getBooleanInput("upgrade-stack"),
stackYaml: getInputDefault("stack-yaml", null),
};
}
exports.getInputs = getInputs;
Expand Down Expand Up @@ -195,6 +196,11 @@ async function run() {
core.debug(`Change directory: ${inputs.workingDirectory}`);
process.chdir(inputs.workingDirectory);
}
if (inputs.stackYaml) {
core.warning("inputs.stack-yaml is deprecated. Set env.STACK_YAML or use inputs.stack-arguments instead.");
inputs.stackArguments.unshift(inputs.stackYaml);
inputs.stackArguments.unshift("--stack-yaml");
}
const stack = new stack_cli_1.StackCLI(inputs.stackArguments, core.isDebug());
const hashes = await core.group("Calculate hashes", async () => {
const hashes = await (0, hash_project_1.hashProject)(stack.config);
Expand Down

0 comments on commit ea09173

Please sign in to comment.