build: update distribution

This commit is contained in:
peter-evans 2021-07-22 01:59:05 +00:00 committed by GitHub
parent 31c84f79aa
commit 0151f40476

39
dist/index.js vendored
View file

@ -379,7 +379,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
}); });
}; };
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
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; 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;
const command_1 = __nccwpck_require__(351); const command_1 = __nccwpck_require__(351);
const file_command_1 = __nccwpck_require__(717); const file_command_1 = __nccwpck_require__(717);
const utils_1 = __nccwpck_require__(278); const utils_1 = __nccwpck_require__(278);
@ -465,6 +465,21 @@ function getInput(name, options) {
return val.trim(); return val.trim();
} }
exports.getInput = getInput; exports.getInput = getInput;
/**
* Gets the values of an multiline input. Each value is also trimmed.
*
* @param name name of the input to get
* @param options optional. See InputOptions.
* @returns string[]
*
*/
function getMultilineInput(name, options) {
const inputs = getInput(name, options)
.split('\n')
.filter(x => x !== '');
return inputs;
}
exports.getMultilineInput = getMultilineInput;
/** /**
* Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification.
* Support boolean input list: `true | True | TRUE | false | False | FALSE` . * Support boolean input list: `true | True | TRUE | false | False | FALSE` .
@ -2376,7 +2391,7 @@ module.exports = eval("require")("encoding");
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
module.exports = require("fs");; module.exports = require("fs");
/***/ }), /***/ }),
@ -2384,7 +2399,7 @@ module.exports = require("fs");;
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
module.exports = require("http");; module.exports = require("http");
/***/ }), /***/ }),
@ -2392,7 +2407,7 @@ module.exports = require("http");;
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
module.exports = require("https");; module.exports = require("https");
/***/ }), /***/ }),
@ -2400,7 +2415,7 @@ module.exports = require("https");;
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
module.exports = require("os");; module.exports = require("os");
/***/ }), /***/ }),
@ -2408,7 +2423,7 @@ module.exports = require("os");;
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
module.exports = require("path");; module.exports = require("path");
/***/ }), /***/ }),
@ -2416,7 +2431,7 @@ module.exports = require("path");;
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
module.exports = require("stream");; module.exports = require("stream");
/***/ }), /***/ }),
@ -2424,7 +2439,7 @@ module.exports = require("stream");;
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
module.exports = require("url");; module.exports = require("url");
/***/ }), /***/ }),
@ -2432,7 +2447,7 @@ module.exports = require("url");;
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
module.exports = require("util");; module.exports = require("util");
/***/ }), /***/ }),
@ -2440,7 +2455,7 @@ module.exports = require("util");;
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
module.exports = require("zlib");; module.exports = require("zlib");
/***/ }) /***/ })
@ -2479,7 +2494,9 @@ module.exports = require("zlib");;
/************************************************************************/ /************************************************************************/
/******/ /* webpack/runtime/compat */ /******/ /* webpack/runtime/compat */
/******/ /******/
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";/************************************************************************/ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
/******/
/************************************************************************/
/******/ /******/
/******/ // startup /******/ // startup
/******/ // Load entry module and return exports /******/ // Load entry module and return exports