mirror of
https://github.com/actions/download-artifact.git
synced 2025-08-22 00:20:17 +00:00
Update index.js
This commit is contained in:
parent
13a2d46bea
commit
e7e0ca8fa6
5
dist/index.js
vendored
5
dist/index.js
vendored
@ -7066,14 +7066,15 @@ function run() {
|
||||
const path = core.getInput(constants_1.Inputs.Path, { required: false });
|
||||
const extract = core.getInput(constants_1.Inputs.Extract, { required: false });
|
||||
core.info(`constants inputs ${constants_1.Inputs}`);
|
||||
core.info(`Extract name was ${constants_1.Inputs.Name}`);
|
||||
core.info(`Extract input was ${constants_1.Inputs.Extract}`);
|
||||
let extractArtifact;
|
||||
if (extract == "True") {
|
||||
core.info("Extract was true");
|
||||
core.info("Extract was true ${extract}");
|
||||
extractArtifact = true;
|
||||
}
|
||||
else {
|
||||
core.info("Extract was false");
|
||||
core.info("Extract was false ${extract}");
|
||||
extractArtifact = false;
|
||||
}
|
||||
let resolvedPath;
|
||||
|
Loading…
x
Reference in New Issue
Block a user