From 32017ec6d672d6f93b59f10ddaddca96bdc86cc3 Mon Sep 17 00:00:00 2001 From: papeloto Date: Sat, 21 Mar 2020 12:52:26 +0100 Subject: [PATCH] fix: repeated variable --- action.yml | 2 +- dist/index.js | 2 +- index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index a3e53c2..25e0da8 100644 --- a/action.yml +++ b/action.yml @@ -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: diff --git a/dist/index.js b/dist/index.js index 5227f68..4d2c0aa 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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(" ") diff --git a/index.js b/index.js index 8e160ac..1167fbb 100644 --- a/index.js +++ b/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(" ")