diff --git a/dist/index.js b/dist/index.js index 08da3c6..4395ebc 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,7 +1,7 @@ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ 561: +/***/ 191: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -31,8 +31,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.issue = exports.issueCommand = void 0; -const os = __importStar(__nccwpck_require__(37)); -const utils_1 = __nccwpck_require__(691); +const os = __importStar(__nccwpck_require__(857)); +const utils_1 = __nccwpck_require__(283); /** * Commands * @@ -104,7 +104,7 @@ function escapeProperty(s) { /***/ }), -/***/ 407: +/***/ 999: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -143,12 +143,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.platform = exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = exports.markdownSummary = exports.summary = exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = 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__(561); -const file_command_1 = __nccwpck_require__(982); -const utils_1 = __nccwpck_require__(691); -const os = __importStar(__nccwpck_require__(37)); -const path = __importStar(__nccwpck_require__(17)); -const oidc_utils_1 = __nccwpck_require__(318); +const command_1 = __nccwpck_require__(191); +const file_command_1 = __nccwpck_require__(58); +const utils_1 = __nccwpck_require__(283); +const os = __importStar(__nccwpck_require__(857)); +const path = __importStar(__nccwpck_require__(928)); +const oidc_utils_1 = __nccwpck_require__(549); /** * The code to exit an action */ @@ -433,29 +433,29 @@ exports.getIDToken = getIDToken; /** * Summary exports */ -var summary_1 = __nccwpck_require__(970); +var summary_1 = __nccwpck_require__(638); Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } })); /** * @deprecated use core.summary */ -var summary_2 = __nccwpck_require__(970); +var summary_2 = __nccwpck_require__(638); Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } })); /** * Path exports */ -var path_utils_1 = __nccwpck_require__(711); +var path_utils_1 = __nccwpck_require__(539); Object.defineProperty(exports, "toPosixPath", ({ enumerable: true, get: function () { return path_utils_1.toPosixPath; } })); Object.defineProperty(exports, "toWin32Path", ({ enumerable: true, get: function () { return path_utils_1.toWin32Path; } })); Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: function () { return path_utils_1.toPlatformPath; } })); /** * Platform utilities exports */ -exports.platform = __importStar(__nccwpck_require__(170)); +exports.platform = __importStar(__nccwpck_require__(563)); //# sourceMappingURL=core.js.map /***/ }), -/***/ 982: +/***/ 58: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -488,10 +488,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.prepareKeyValueMessage = exports.issueFileCommand = void 0; // We use any as a valid input type /* eslint-disable @typescript-eslint/no-explicit-any */ -const crypto = __importStar(__nccwpck_require__(113)); -const fs = __importStar(__nccwpck_require__(147)); -const os = __importStar(__nccwpck_require__(37)); -const utils_1 = __nccwpck_require__(691); +const crypto = __importStar(__nccwpck_require__(982)); +const fs = __importStar(__nccwpck_require__(896)); +const os = __importStar(__nccwpck_require__(857)); +const utils_1 = __nccwpck_require__(283); function issueFileCommand(command, message) { const filePath = process.env[`GITHUB_${command}`]; if (!filePath) { @@ -524,7 +524,7 @@ exports.prepareKeyValueMessage = prepareKeyValueMessage; /***/ }), -/***/ 318: +/***/ 549: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -540,9 +540,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.OidcClient = void 0; -const http_client_1 = __nccwpck_require__(781); -const auth_1 = __nccwpck_require__(903); -const core_1 = __nccwpck_require__(407); +const http_client_1 = __nccwpck_require__(571); +const auth_1 = __nccwpck_require__(689); +const core_1 = __nccwpck_require__(999); class OidcClient { static createHttpClient(allowRetry = true, maxRetry = 10) { const requestOptions = { @@ -608,7 +608,7 @@ exports.OidcClient = OidcClient; /***/ }), -/***/ 711: +/***/ 539: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -638,7 +638,7 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0; -const path = __importStar(__nccwpck_require__(17)); +const path = __importStar(__nccwpck_require__(928)); /** * toPosixPath converts the given path to the posix form. On Windows, \\ will be * replaced with /. @@ -677,7 +677,7 @@ exports.toPlatformPath = toPlatformPath; /***/ }), -/***/ 170: +/***/ 563: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -719,8 +719,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getDetails = exports.isLinux = exports.isMacOS = exports.isWindows = exports.arch = exports.platform = void 0; -const os_1 = __importDefault(__nccwpck_require__(37)); -const exec = __importStar(__nccwpck_require__(775)); +const os_1 = __importDefault(__nccwpck_require__(857)); +const exec = __importStar(__nccwpck_require__(872)); const getWindowsInfo = () => __awaiter(void 0, void 0, void 0, function* () { const { stdout: version } = yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"', undefined, { silent: true @@ -778,7 +778,7 @@ exports.getDetails = getDetails; /***/ }), -/***/ 970: +/***/ 638: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -794,8 +794,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0; -const os_1 = __nccwpck_require__(37); -const fs_1 = __nccwpck_require__(147); +const os_1 = __nccwpck_require__(857); +const fs_1 = __nccwpck_require__(896); const { access, appendFile, writeFile } = fs_1.promises; exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY'; exports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary'; @@ -1068,7 +1068,7 @@ exports.summary = _summary; /***/ }), -/***/ 691: +/***/ 283: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -1115,7 +1115,7 @@ exports.toCommandProperties = toCommandProperties; /***/ }), -/***/ 775: +/***/ 872: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1150,8 +1150,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getExecOutput = exports.exec = void 0; -const string_decoder_1 = __nccwpck_require__(576); -const tr = __importStar(__nccwpck_require__(374)); +const string_decoder_1 = __nccwpck_require__(193); +const tr = __importStar(__nccwpck_require__(725)); /** * Exec a command. * Output will be streamed to the live console. @@ -1225,7 +1225,7 @@ exports.getExecOutput = getExecOutput; /***/ }), -/***/ 374: +/***/ 725: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1260,13 +1260,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.argStringToArray = exports.ToolRunner = void 0; -const os = __importStar(__nccwpck_require__(37)); -const events = __importStar(__nccwpck_require__(361)); -const child = __importStar(__nccwpck_require__(81)); -const path = __importStar(__nccwpck_require__(17)); -const io = __importStar(__nccwpck_require__(826)); -const ioUtil = __importStar(__nccwpck_require__(446)); -const timers_1 = __nccwpck_require__(512); +const os = __importStar(__nccwpck_require__(857)); +const events = __importStar(__nccwpck_require__(434)); +const child = __importStar(__nccwpck_require__(317)); +const path = __importStar(__nccwpck_require__(928)); +const io = __importStar(__nccwpck_require__(357)); +const ioUtil = __importStar(__nccwpck_require__(746)); +const timers_1 = __nccwpck_require__(557); /* eslint-disable @typescript-eslint/unbound-method */ const IS_WINDOWS = process.platform === 'win32'; /* @@ -1850,7 +1850,7 @@ class ExecState extends events.EventEmitter { /***/ }), -/***/ 903: +/***/ 689: /***/ (function(__unused_webpack_module, exports) { "use strict"; @@ -1938,7 +1938,7 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand /***/ }), -/***/ 781: +/***/ 571: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1974,10 +1974,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0; -const http = __importStar(__nccwpck_require__(685)); -const https = __importStar(__nccwpck_require__(687)); -const pm = __importStar(__nccwpck_require__(117)); -const tunnel = __importStar(__nccwpck_require__(225)); +const http = __importStar(__nccwpck_require__(611)); +const https = __importStar(__nccwpck_require__(692)); +const pm = __importStar(__nccwpck_require__(863)); +const tunnel = __importStar(__nccwpck_require__(124)); var HttpCodes; (function (HttpCodes) { HttpCodes[HttpCodes["OK"] = 200] = "OK"; @@ -2550,7 +2550,7 @@ const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCa /***/ }), -/***/ 117: +/***/ 863: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -2618,7 +2618,7 @@ exports.checkBypass = checkBypass; /***/ }), -/***/ 446: +/***/ 746: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -2654,8 +2654,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge var _a; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readlink = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; -const fs = __importStar(__nccwpck_require__(147)); -const path = __importStar(__nccwpck_require__(17)); +const fs = __importStar(__nccwpck_require__(896)); +const path = __importStar(__nccwpck_require__(928)); _a = fs.promises // export const {open} = 'fs' , exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; @@ -2808,7 +2808,7 @@ exports.getCmdPath = getCmdPath; /***/ }), -/***/ 826: +/***/ 357: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -2843,9 +2843,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.findInPath = exports.which = exports.mkdirP = exports.rmRF = exports.mv = exports.cp = void 0; -const assert_1 = __nccwpck_require__(491); -const path = __importStar(__nccwpck_require__(17)); -const ioUtil = __importStar(__nccwpck_require__(446)); +const assert_1 = __nccwpck_require__(613); +const path = __importStar(__nccwpck_require__(928)); +const ioUtil = __importStar(__nccwpck_require__(746)); /** * Copies a file or folder. * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js @@ -3114,27 +3114,27 @@ function copyFile(srcFile, destFile, force) { /***/ }), -/***/ 225: +/***/ 124: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -module.exports = __nccwpck_require__(30); +module.exports = __nccwpck_require__(660); /***/ }), -/***/ 30: +/***/ 660: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; -var net = __nccwpck_require__(808); -var tls = __nccwpck_require__(404); -var http = __nccwpck_require__(685); -var https = __nccwpck_require__(687); -var events = __nccwpck_require__(361); -var assert = __nccwpck_require__(491); -var util = __nccwpck_require__(837); +var net = __nccwpck_require__(278); +var tls = __nccwpck_require__(756); +var http = __nccwpck_require__(611); +var https = __nccwpck_require__(692); +var events = __nccwpck_require__(434); +var assert = __nccwpck_require__(613); +var util = __nccwpck_require__(23); exports.httpOverHttp = httpOverHttp; @@ -3394,7 +3394,7 @@ exports.debug = debug; // for test /***/ }), -/***/ 491: +/***/ 613: /***/ ((module) => { "use strict"; @@ -3402,7 +3402,7 @@ module.exports = require("assert"); /***/ }), -/***/ 81: +/***/ 317: /***/ ((module) => { "use strict"; @@ -3410,7 +3410,7 @@ module.exports = require("child_process"); /***/ }), -/***/ 113: +/***/ 982: /***/ ((module) => { "use strict"; @@ -3418,7 +3418,7 @@ module.exports = require("crypto"); /***/ }), -/***/ 361: +/***/ 434: /***/ ((module) => { "use strict"; @@ -3426,7 +3426,7 @@ module.exports = require("events"); /***/ }), -/***/ 147: +/***/ 896: /***/ ((module) => { "use strict"; @@ -3434,7 +3434,7 @@ module.exports = require("fs"); /***/ }), -/***/ 685: +/***/ 611: /***/ ((module) => { "use strict"; @@ -3442,7 +3442,7 @@ module.exports = require("http"); /***/ }), -/***/ 687: +/***/ 692: /***/ ((module) => { "use strict"; @@ -3450,7 +3450,7 @@ module.exports = require("https"); /***/ }), -/***/ 808: +/***/ 278: /***/ ((module) => { "use strict"; @@ -3458,7 +3458,7 @@ module.exports = require("net"); /***/ }), -/***/ 37: +/***/ 857: /***/ ((module) => { "use strict"; @@ -3466,7 +3466,7 @@ module.exports = require("os"); /***/ }), -/***/ 17: +/***/ 928: /***/ ((module) => { "use strict"; @@ -3474,7 +3474,7 @@ module.exports = require("path"); /***/ }), -/***/ 576: +/***/ 193: /***/ ((module) => { "use strict"; @@ -3482,7 +3482,7 @@ module.exports = require("string_decoder"); /***/ }), -/***/ 512: +/***/ 557: /***/ ((module) => { "use strict"; @@ -3490,7 +3490,7 @@ module.exports = require("timers"); /***/ }), -/***/ 404: +/***/ 756: /***/ ((module) => { "use strict"; @@ -3498,7 +3498,7 @@ module.exports = require("tls"); /***/ }), -/***/ 837: +/***/ 23: /***/ ((module) => { "use strict"; @@ -3581,13 +3581,13 @@ __nccwpck_require__.r(__webpack_exports__); // EXPORTS __nccwpck_require__.d(__webpack_exports__, { - "clearEnv": () => (/* reexport */ clearEnv), - "dockerRun": () => (/* reexport */ dockerRun), - "dockerRunPost": () => (/* reexport */ dockerRunPost) + clearEnv: () => (/* reexport */ clearEnv), + dockerRun: () => (/* reexport */ dockerRun), + dockerRunPost: () => (/* reexport */ dockerRunPost) }); // EXTERNAL MODULE: ./node_modules/.pnpm/@actions+core@1.11.1/node_modules/@actions/core/lib/core.js -var core = __nccwpck_require__(407); +var core = __nccwpck_require__(999); ;// CONCATENATED MODULE: ./src/clear-env.ts const clearEnv = () => { @@ -3607,7 +3607,7 @@ const clearEnv = () => { }; // EXTERNAL MODULE: external "child_process" -var external_child_process_ = __nccwpck_require__(81); +var external_child_process_ = __nccwpck_require__(317); ;// CONCATENATED MODULE: ./src/docker-run.ts