Update index.js

This commit is contained in:
Austin Sasko 2022-03-18 18:16:39 -04:00 committed by GitHub
parent 05ab99f050
commit 5d453df1db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
dist/index.js vendored
View file

@ -7065,17 +7065,16 @@ function run() {
const name = core.getInput(constants_1.Inputs.Name, { required: false }); const name = core.getInput(constants_1.Inputs.Name, { required: false });
const path = core.getInput(constants_1.Inputs.Path, { required: false }); const path = core.getInput(constants_1.Inputs.Path, { required: false });
const extract = core.getInput(constants_1.Inputs.Extract, { required: false }); const extract = core.getInput(constants_1.Inputs.Extract, { required: false });
core.info(`constants inputs ${JSON.stringify(constants_1.Inputs)}`); core.info(`Extract name was ${core.getInput(constants_1.Inputs.Name)}`);
core.info(`Extract name was ${constants_1.Inputs.Name}`); core.info(`Extract name was ${core.getInput(constants_1.Inputs.Path)}`);
core.info(`Extract name was ${constants_1.Inputs.Path}`); core.info(`Extract input was ${core.getInput(constants_1.Inputs.Extract)}`);
core.info(`Extract input was ${constants_1.Inputs.Extract}`);
let extractArtifact; let extractArtifact;
if (extract == "True") { if (extract == "True") {
core.info(`Extract was true ${extract}`); core.info(`Extract was true val ${extract} and type ${typeof extract}`);
extractArtifact = true; extractArtifact = true;
} }
else { else {
core.info(`Extract was false ${extract}`); core.info(`Extract was false val ${extract} and type ${typeof extract}`);
extractArtifact = false; extractArtifact = false;
} }
let resolvedPath; let resolvedPath;