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:
|
||||
description: "Files or directories to zip"
|
||||
required: true
|
||||
files:
|
||||
output:
|
||||
description: "Name of output zip file"
|
||||
default: "result.zip"
|
||||
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 inputFiles = core.getInput("files", { required: true });
|
||||
const filename = core.getInput("filename");
|
||||
const filename = core.getInput("output");
|
||||
|
||||
const files = inputFiles
|
||||
.split(" ")
|
||||
|
|
2
index.js
2
index.js
|
@ -4,7 +4,7 @@ const AdmZip = require("adm-zip");
|
|||
const core = require("@actions/core");
|
||||
|
||||
const inputFiles = core.getInput("files", { required: true });
|
||||
const filename = core.getInput("filename");
|
||||
const filename = core.getInput("output");
|
||||
|
||||
const files = inputFiles
|
||||
.split(" ")
|
||||
|
|
Loading…
Reference in a new issue