mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-23 15:08:29 +02:00
Update index.js
This commit is contained in:
parent
05ab99f050
commit
5d453df1db
1 changed files with 5 additions and 6 deletions
11
dist/index.js
vendored
11
dist/index.js
vendored
|
@ -7065,17 +7065,16 @@ function run() {
|
|||
const name = core.getInput(constants_1.Inputs.Name, { required: false });
|
||||
const path = core.getInput(constants_1.Inputs.Path, { 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 ${constants_1.Inputs.Name}`);
|
||||
core.info(`Extract name was ${constants_1.Inputs.Path}`);
|
||||
core.info(`Extract input was ${constants_1.Inputs.Extract}`);
|
||||
core.info(`Extract name was ${core.getInput(constants_1.Inputs.Name)}`);
|
||||
core.info(`Extract name was ${core.getInput(constants_1.Inputs.Path)}`);
|
||||
core.info(`Extract input was ${core.getInput(constants_1.Inputs.Extract)}`);
|
||||
let extractArtifact;
|
||||
if (extract == "True") {
|
||||
core.info(`Extract was true ${extract}`);
|
||||
core.info(`Extract was true val ${extract} and type ${typeof extract}`);
|
||||
extractArtifact = true;
|
||||
}
|
||||
else {
|
||||
core.info(`Extract was false ${extract}`);
|
||||
core.info(`Extract was false val ${extract} and type ${typeof extract}`);
|
||||
extractArtifact = false;
|
||||
}
|
||||
let resolvedPath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue