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