From 4f12c907f3f342b7dc2868382b9bd0e5acc4e5ef Mon Sep 17 00:00:00 2001 From: goto-bus-stop Date: Mon, 29 Jan 2024 09:56:20 +0000 Subject: [PATCH] Rebuild (automated) --- dist/index.js | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/dist/index.js b/dist/index.js index dfae000..a4d4c8a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -26193,18 +26193,18 @@ var require_constants6 = __commonJS({ (function(CacheFilename2) { CacheFilename2["Gzip"] = "cache.tgz"; CacheFilename2["Zstd"] = "cache.tzst"; - })(CacheFilename = exports2.CacheFilename || (exports2.CacheFilename = {})); + })(CacheFilename || (exports2.CacheFilename = CacheFilename = {})); var CompressionMethod; (function(CompressionMethod2) { CompressionMethod2["Gzip"] = "gzip"; CompressionMethod2["ZstdWithoutLong"] = "zstd-without-long"; CompressionMethod2["Zstd"] = "zstd"; - })(CompressionMethod = exports2.CompressionMethod || (exports2.CompressionMethod = {})); + })(CompressionMethod || (exports2.CompressionMethod = CompressionMethod = {})); var ArchiveToolType; (function(ArchiveToolType2) { ArchiveToolType2["GNU"] = "gnu"; ArchiveToolType2["BSD"] = "bsd"; - })(ArchiveToolType = exports2.ArchiveToolType || (exports2.ArchiveToolType = {})); + })(ArchiveToolType || (exports2.ArchiveToolType = ArchiveToolType = {})); exports2.DefaultRetryAttempts = 2; exports2.DefaultRetryDelay = 5e3; exports2.SocketTimeout = 5e3; @@ -26355,20 +26355,16 @@ var require_cacheUtils = __commonJS({ implicitDescendants: false }); try { - for (var _e = true, _f = __asyncValues2(globber.globGenerator()), _g; _g = yield _f.next(), _a = _g.done, !_a; ) { + for (var _e = true, _f = __asyncValues2(globber.globGenerator()), _g; _g = yield _f.next(), _a = _g.done, !_a; _e = true) { _c = _g.value; _e = false; - try { - const file = _c; - const relativeFile = path2.relative(workspace, file).replace(new RegExp(`\\${path2.sep}`, "g"), "/"); - core.debug(`Matched: ${relativeFile}`); - if (relativeFile === "") { - paths.push("."); - } else { - paths.push(`${relativeFile}`); - } - } finally { - _e = true; + const file = _c; + const relativeFile = path2.relative(workspace, file).replace(new RegExp(`\\${path2.sep}`, "g"), "/"); + core.debug(`Matched: ${relativeFile}`); + if (relativeFile === "") { + paths.push("."); + } else { + paths.push(`${relativeFile}`); } } } catch (e_1_1) { @@ -78456,7 +78452,7 @@ var require_cacheHttpClient = __commonJS({ } __name(createHttpClient, "createHttpClient"); function getCacheVersion(paths, compressionMethod, enableCrossOsArchive = false) { - const components = paths; + const components = paths.slice(); if (compressionMethod) { components.push(compressionMethod); }