fix: repeated variable

This commit is contained in:
papeloto 2020-03-21 12:52:26 +01:00
parent d303734f9e
commit 32017ec6d6
3 changed files with 3 additions and 3 deletions

View file

@ -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
View file

@ -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(" ")

View file

@ -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(" ")