mirror of
https://github.com/papeloto/action-zip
synced 2024-11-22 05:29:35 -08:00
fix: repeated variable
This commit is contained in:
parent
d303734f9e
commit
32017ec6d6
3 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ inputs:
|
||||||
files:
|
files:
|
||||||
description: "Files or directories to zip"
|
description: "Files or directories to zip"
|
||||||
required: true
|
required: true
|
||||||
files:
|
output:
|
||||||
description: "Name of output zip file"
|
description: "Name of output zip file"
|
||||||
default: "result.zip"
|
default: "result.zip"
|
||||||
runs:
|
runs:
|
||||||
|
|
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -59,7 +59,7 @@ const AdmZip = __webpack_require__(639);
|
||||||
const core = __webpack_require__(470);
|
const core = __webpack_require__(470);
|
||||||
|
|
||||||
const inputFiles = core.getInput("files", { required: true });
|
const inputFiles = core.getInput("files", { required: true });
|
||||||
const filename = core.getInput("filename");
|
const filename = core.getInput("output");
|
||||||
|
|
||||||
const files = inputFiles
|
const files = inputFiles
|
||||||
.split(" ")
|
.split(" ")
|
||||||
|
|
2
index.js
2
index.js
|
@ -4,7 +4,7 @@ const AdmZip = require("adm-zip");
|
||||||
const core = require("@actions/core");
|
const core = require("@actions/core");
|
||||||
|
|
||||||
const inputFiles = core.getInput("files", { required: true });
|
const inputFiles = core.getInput("files", { required: true });
|
||||||
const filename = core.getInput("filename");
|
const filename = core.getInput("output");
|
||||||
|
|
||||||
const files = inputFiles
|
const files = inputFiles
|
||||||
.split(" ")
|
.split(" ")
|
||||||
|
|
Loading…
Reference in a new issue