This commit is contained in:
github-actions[bot]
2026-10-14 09:51:41 +00:00
parent efdb69c1d7
commit 25fe42ad78

92
lib/entry-points.js generated
View File

@@ -100013,7 +100013,7 @@ var require_package = __commonJS({
"node_modules/@actions/cache/package.json"(exports2, module2) {
module2.exports = {
name: "@actions/cache",
version: "5.2.0",
version: "5.3.0",
preview: true,
description: "Actions cache lib",
keywords: [
@@ -100050,22 +100050,22 @@ var require_package = __commonJS({
url: "https://github.com/actions/toolkit/issues"
},
dependencies: {
"@actions/core": "^2.0.0",
"@actions/core": "^2.0.3",
"@actions/exec": "^2.0.0",
"@actions/glob": "^0.5.1",
"@protobuf-ts/runtime-rpc": "^2.11.1",
"@actions/http-client": "^3.0.2",
"@actions/io": "^2.0.0",
"@azure/abort-controller": "^1.1.0",
"@azure/core-rest-pipeline": "^1.22.0",
"@azure/storage-blob": "^12.29.1",
"@azure/core-rest-pipeline": "^1.25.0",
"@azure/storage-blob": "^12.34.0",
"@protobuf-ts/runtime-rpc": "^2.11.1",
semver: "^6.3.1"
},
devDependencies: {
"@types/node": "^24.1.0",
"@types/semver": "^6.0.0",
"@protobuf-ts/plugin": "^2.9.4",
typescript: "^5.2.2"
"@protobuf-ts/plugin": "^2.11.1",
"@types/node": "^24.13.6",
"@types/semver": "^6.2.7",
typescript: "^5.9.3"
},
overrides: {
"uri-js": "npm:uri-js-replace@^1.0.1",
@@ -105592,6 +105592,7 @@ var require_tar = __commonJS({
exports2.listTar = listTar;
exports2.extractTar = extractTar3;
exports2.createTar = createTar;
var core29 = __importStar2(require_core());
var exec_1 = require_exec();
var io9 = __importStar2(require_io());
var fs_1 = require("fs");
@@ -105644,7 +105645,7 @@ var require_tar = __commonJS({
args.push("--posix", "-cf", BSD_TAR_ZSTD ? tarFile : cacheFileName.replace(new RegExp(`\\${path30.sep}`, "g"), "/"), "--exclude", BSD_TAR_ZSTD ? tarFile : cacheFileName.replace(new RegExp(`\\${path30.sep}`, "g"), "/"), "-P", "-C", workingDirectory.replace(new RegExp(`\\${path30.sep}`, "g"), "/"), "--files-from", constants_1.ManifestFilename);
break;
case "extract":
args.push("-xf", BSD_TAR_ZSTD ? tarFile : archivePath.replace(new RegExp(`\\${path30.sep}`, "g"), "/"), "-P", "-C", workingDirectory.replace(new RegExp(`\\${path30.sep}`, "g"), "/"));
args.push("-xf", BSD_TAR_ZSTD ? tarFile : archivePath.replace(new RegExp(`\\${path30.sep}`, "g"), "/"), "-P", "-C", BSD_TAR_ZSTD ? quoteAbsolutePath(workingDirectory) : workingDirectory.replace(new RegExp(`\\${path30.sep}`, "g"), "/"));
break;
case "list":
args.push("-tf", BSD_TAR_ZSTD ? tarFile : archivePath.replace(new RegExp(`\\${path30.sep}`, "g"), "/"), "-P");
@@ -105675,16 +105676,19 @@ var require_tar = __commonJS({
} else {
args = [[...tarArgs].join(" "), [...compressionArgs].join(" ")];
}
if (BSD_TAR_ZSTD) {
return args;
}
return [args.join(" ")];
return {
commands: BSD_TAR_ZSTD ? args : [args.join(" ")],
requiresTempDirectory: BSD_TAR_ZSTD && type !== "create"
};
});
}
function getWorkingDirectory() {
var _a6;
return (_a6 = process.env["GITHUB_WORKSPACE"]) !== null && _a6 !== void 0 ? _a6 : process.cwd();
}
function quoteAbsolutePath(filePath) {
return `"${path30.resolve(filePath).replace(new RegExp(`\\${path30.sep}`, "g"), "/")}"`;
}
function getDecompressionProgram(tarPath, compressionMethod, archivePath) {
return __awaiter2(this, void 0, void 0, function* () {
const BSD_TAR_ZSTD = tarPath.type === constants_1.ArchiveToolType.BSD && compressionMethod !== constants_1.CompressionMethod.Gzip && IS_WINDOWS;
@@ -105693,17 +105697,13 @@ var require_tar = __commonJS({
return BSD_TAR_ZSTD ? [
"zstd -d --long=30 --force -o",
constants_1.TarFilename,
archivePath.replace(new RegExp(`\\${path30.sep}`, "g"), "/")
quoteAbsolutePath(archivePath)
] : [
"--use-compress-program",
IS_WINDOWS ? '"zstd -d --long=30"' : "unzstd --long=30"
];
case constants_1.CompressionMethod.ZstdWithoutLong:
return BSD_TAR_ZSTD ? [
"zstd -d --force -o",
constants_1.TarFilename,
archivePath.replace(new RegExp(`\\${path30.sep}`, "g"), "/")
] : ["--use-compress-program", IS_WINDOWS ? '"zstd -d"' : "unzstd"];
return BSD_TAR_ZSTD ? ["zstd -d --force -o", constants_1.TarFilename, quoteAbsolutePath(archivePath)] : ["--use-compress-program", IS_WINDOWS ? '"zstd -d"' : "unzstd"];
default:
return ["-z"];
}
@@ -105748,24 +105748,39 @@ var require_tar = __commonJS({
}
});
}
function execReadCommands(archivePath, compressionMethod, type) {
return __awaiter2(this, void 0, void 0, function* () {
const { commands, requiresTempDirectory } = yield getCommands(compressionMethod, type, archivePath);
const tempDirectory = requiresTempDirectory ? yield utils.createTempDirectory() : void 0;
try {
yield execCommands(commands, tempDirectory);
} finally {
if (tempDirectory) {
try {
yield io9.rmRF(tempDirectory);
} catch (error3) {
core29.debug(`Failed to delete temporary tar directory: ${error3}`);
}
}
}
});
}
function listTar(archivePath, compressionMethod) {
return __awaiter2(this, void 0, void 0, function* () {
const commands = yield getCommands(compressionMethod, "list", archivePath);
yield execCommands(commands);
yield execReadCommands(archivePath, compressionMethod, "list");
});
}
function extractTar3(archivePath, compressionMethod) {
return __awaiter2(this, void 0, void 0, function* () {
const workingDirectory = getWorkingDirectory();
yield io9.mkdirP(workingDirectory);
const commands = yield getCommands(compressionMethod, "extract", archivePath);
yield execCommands(commands);
yield execReadCommands(archivePath, compressionMethod, "extract");
});
}
function createTar(archiveFolder, sourceDirectories, compressionMethod) {
return __awaiter2(this, void 0, void 0, function* () {
(0, fs_1.writeFileSync)(path30.join(archiveFolder, constants_1.ManifestFilename), sourceDirectories.join("\n"));
const commands = yield getCommands(compressionMethod, "create");
const { commands } = yield getCommands(compressionMethod, "create");
yield execCommands(commands, archiveFolder);
});
}
@@ -107381,6 +107396,12 @@ var require_follow_redirects = __commonJS({
RedirectableRequest.prototype._sanitizeOptions = function(options) {
if (!options.headers) {
options.headers = {};
} else if (Array.isArray(options.headers)) {
var headerList = options.headers;
options.headers = {};
for (var i = 0; i < headerList.length; i += 2) {
options.headers[headerList[i]] = headerList[i + 1];
}
}
if (!isArray2(options.sensitiveHeaders)) {
options.sensitiveHeaders = [];
@@ -107655,7 +107676,7 @@ var require_follow_redirects = __commonJS({
return URL2 && value instanceof URL2;
}
function escapeRegex(regex) {
return regex.replace(/[\]\\/()*+?.$]/g, "\\$&");
return regex.replace(/[[\]\\/()*+?.^$|]/g, "\\$&");
}
module2.exports = wrap({ http, https: https3 });
module2.exports.wrap = wrap;
@@ -168147,7 +168168,7 @@ function readBlockScalar(state, parentIndent, props) {
state.position = linePosition + column;
throwError(state, "tab characters must not be used in indentation");
}
if (column < maxLeadingIndent) {
if (column >= parentIndent && column < maxLeadingIndent) {
state.position = linePosition + column;
throwError(state, "bad indentation of a mapping entry");
}
@@ -168357,13 +168378,16 @@ function readBlockMapping(state, nodeIndent, flowIndent, props) {
ch = state.input.charCodeAt(++state.position);
if (!isWsOrEolOrEnd(ch)) throwError(state, "a whitespace character is expected after the key-value separator within a block mapping");
if (!mappingOpened) {
restoreState(state, beforeKey);
addMappingEvent(state, beforeKey.position, props.anchorStart, props.anchorEnd, props.tagStart, props.tagEnd, COLLECTION_STYLE.BLOCK);
state.events.splice(beforeKey.eventsLength, 0, {
type: EVENT_ID.MAPPING,
start: beforeKey.position,
anchorStart: props.anchorStart,
anchorEnd: props.anchorEnd,
tagStart: props.tagStart,
tagEnd: props.tagEnd,
style: COLLECTION_STYLE.BLOCK
});
mappingOpened = true;
parseNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true);
ch = state.input.charCodeAt(state.position);
while (isWhiteSpace(ch)) ch = state.input.charCodeAt(++state.position);
state.position++;
}
detected = true;
atExplicitKey = false;
@@ -188637,7 +188661,7 @@ tmp/lib/tmp.js:
*)
js-yaml/dist/js-yaml.mjs:
(*! js-yaml 5.4.2 https://github.com/nodeca/js-yaml @license MIT *)
(*! js-yaml 5.4.3 https://github.com/nodeca/js-yaml @license MIT *)
long/index.js:
(**