Skip to content

Commit a2639f5

Browse files
authored
Update distribution
1 parent a2d77e6 commit a2639f5

File tree

1 file changed

+32
-15
lines changed

1 file changed

+32
-15
lines changed

dist/index.js

Lines changed: 32 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
301301
});
302302
};
303303
Object.defineProperty(exports, "__esModule", ({ value: true }));
304-
exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;
304+
exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;
305305
const command_1 = __nccwpck_require__(351);
306306
const file_command_1 = __nccwpck_require__(717);
307307
const utils_1 = __nccwpck_require__(278);
@@ -387,6 +387,21 @@ function getInput(name, options) {
387387
return val.trim();
388388
}
389389
exports.getInput = getInput;
390+
/**
391+
* Gets the values of an multiline input. Each value is also trimmed.
392+
*
393+
* @param name name of the input to get
394+
* @param options optional. See InputOptions.
395+
* @returns string[]
396+
*
397+
*/
398+
function getMultilineInput(name, options) {
399+
const inputs = getInput(name, options)
400+
.split('\n')
401+
.filter(x => x !== '');
402+
return inputs;
403+
}
404+
exports.getMultilineInput = getMultilineInput;
390405
/**
391406
* Gets the input value of the boolean type in the YAML 1.2 "core schema" specification.
392407
* Support boolean input list: `true | True | TRUE | false | False | FALSE` .
@@ -6169,103 +6184,103 @@ module.exports = eval("require")("encoding");
61696184
/***/ ((module) => {
61706185

61716186
"use strict";
6172-
module.exports = require("assert");;
6187+
module.exports = require("assert");
61736188

61746189
/***/ }),
61756190

61766191
/***/ 614:
61776192
/***/ ((module) => {
61786193

61796194
"use strict";
6180-
module.exports = require("events");;
6195+
module.exports = require("events");
61816196

61826197
/***/ }),
61836198

61846199
/***/ 747:
61856200
/***/ ((module) => {
61866201

61876202
"use strict";
6188-
module.exports = require("fs");;
6203+
module.exports = require("fs");
61896204

61906205
/***/ }),
61916206

61926207
/***/ 605:
61936208
/***/ ((module) => {
61946209

61956210
"use strict";
6196-
module.exports = require("http");;
6211+
module.exports = require("http");
61976212

61986213
/***/ }),
61996214

62006215
/***/ 211:
62016216
/***/ ((module) => {
62026217

62036218
"use strict";
6204-
module.exports = require("https");;
6219+
module.exports = require("https");
62056220

62066221
/***/ }),
62076222

62086223
/***/ 631:
62096224
/***/ ((module) => {
62106225

62116226
"use strict";
6212-
module.exports = require("net");;
6227+
module.exports = require("net");
62136228

62146229
/***/ }),
62156230

62166231
/***/ 87:
62176232
/***/ ((module) => {
62186233

62196234
"use strict";
6220-
module.exports = require("os");;
6235+
module.exports = require("os");
62216236

62226237
/***/ }),
62236238

62246239
/***/ 622:
62256240
/***/ ((module) => {
62266241

62276242
"use strict";
6228-
module.exports = require("path");;
6243+
module.exports = require("path");
62296244

62306245
/***/ }),
62316246

62326247
/***/ 413:
62336248
/***/ ((module) => {
62346249

62356250
"use strict";
6236-
module.exports = require("stream");;
6251+
module.exports = require("stream");
62376252

62386253
/***/ }),
62396254

62406255
/***/ 16:
62416256
/***/ ((module) => {
62426257

62436258
"use strict";
6244-
module.exports = require("tls");;
6259+
module.exports = require("tls");
62456260

62466261
/***/ }),
62476262

62486263
/***/ 835:
62496264
/***/ ((module) => {
62506265

62516266
"use strict";
6252-
module.exports = require("url");;
6267+
module.exports = require("url");
62536268

62546269
/***/ }),
62556270

62566271
/***/ 669:
62576272
/***/ ((module) => {
62586273

62596274
"use strict";
6260-
module.exports = require("util");;
6275+
module.exports = require("util");
62616276

62626277
/***/ }),
62636278

62646279
/***/ 761:
62656280
/***/ ((module) => {
62666281

62676282
"use strict";
6268-
module.exports = require("zlib");;
6283+
module.exports = require("zlib");
62696284

62706285
/***/ })
62716286

@@ -6304,7 +6319,9 @@ module.exports = require("zlib");;
63046319
/************************************************************************/
63056320
/******/ /* webpack/runtime/compat */
63066321
/******/
6307-
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";/************************************************************************/
6322+
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
6323+
/******/
6324+
/************************************************************************/
63086325
/******/
63096326
/******/ // startup
63106327
/******/ // Load entry module and return exports

0 commit comments

Comments
 (0)