@@ -2085,7 +2085,7 @@ var require_core = __commonJS({
2085
2085
return inputs.map((input) => input.trim());
2086
2086
}
2087
2087
exports2.getMultilineInput = getMultilineInput2;
2088
- function getBooleanInput3 (name, options) {
2088
+ function getBooleanInput4 (name, options) {
2089
2089
const trueValue = ["true", "True", "TRUE"];
2090
2090
const falseValue = ["false", "False", "FALSE"];
2091
2091
const val = getInput5(name, options);
@@ -2096,7 +2096,7 @@ var require_core = __commonJS({
2096
2096
throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name}
2097
2097
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);
2098
2098
}
2099
- exports2.getBooleanInput = getBooleanInput3 ;
2099
+ exports2.getBooleanInput = getBooleanInput4 ;
2100
2100
function setOutput5(name, value) {
2101
2101
const filePath = process.env["GITHUB_OUTPUT"] || "";
2102
2102
if (filePath) {
@@ -84127,7 +84127,7 @@ var import_node_process4 = __toESM(require("node:process"));
84127
84127
var core8 = __toESM(require_core());
84128
84128
var import_exec2 = __toESM(require_exec());
84129
84129
84130
- // node_modules/.pnpm/github.com+actions+setup-python@ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/utils.ts
84130
+ // node_modules/.pnpm/setup-python@https+++codeload. github.com+actions+setup-python+tar.gz+ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/utils.ts
84131
84131
var cache = __toESM(require_cache2());
84132
84132
var core = __toESM(require_core());
84133
84133
var import_fs = __toESM(require("fs"));
@@ -90391,12 +90391,12 @@ var defaults = {
90391
90391
var got = create_default(defaults);
90392
90392
var source_default2 = got;
90393
90393
90394
- // node_modules/.pnpm/github.com+actions+setup-python@ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/find-python.ts
90394
+ // node_modules/.pnpm/setup-python@https+++codeload. github.com+actions+setup-python+tar.gz+ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/find-python.ts
90395
90395
var os2 = __toESM(require("os"));
90396
90396
var path3 = __toESM(require("path"));
90397
90397
var semver2 = __toESM(require_semver4());
90398
90398
90399
- // node_modules/.pnpm/github.com+actions+setup-python@ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/install-python.ts
90399
+ // node_modules/.pnpm/setup-python@https+++codeload. github.com+actions+setup-python+tar.gz+ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/install-python.ts
90400
90400
var path2 = __toESM(require("path"));
90401
90401
var core2 = __toESM(require_core());
90402
90402
var tc = __toESM(require_tool_cache());
@@ -90485,7 +90485,7 @@ async function installCpythonFromRelease(release) {
90485
90485
}
90486
90486
}
90487
90487
90488
- // node_modules/.pnpm/github.com+actions+setup-python@ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/find-python.ts
90488
+ // node_modules/.pnpm/setup-python@https+++codeload. github.com+actions+setup-python+tar.gz+ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/find-python.ts
90489
90489
var core3 = __toESM(require_core());
90490
90490
var tc2 = __toESM(require_tool_cache());
90491
90491
function binDir(installDir) {
@@ -90608,10 +90608,10 @@ function pythonVersionToSemantic(versionSpec, allowPreReleases) {
90608
90608
return result;
90609
90609
}
90610
90610
90611
- // node_modules/.pnpm/github.com+actions+setup-python@ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/find-pypy.ts
90611
+ // node_modules/.pnpm/setup-python@https+++codeload. github.com+actions+setup-python+tar.gz+ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/find-pypy.ts
90612
90612
var path5 = __toESM(require("path"));
90613
90613
90614
- // node_modules/.pnpm/github.com+actions+setup-python@ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/install-pypy.ts
90614
+ // node_modules/.pnpm/setup-python@https+++codeload. github.com+actions+setup-python+tar.gz+ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/install-pypy.ts
90615
90615
var os3 = __toESM(require("os"));
90616
90616
var path4 = __toESM(require("path"));
90617
90617
var core4 = __toESM(require_core());
@@ -90811,7 +90811,7 @@ function replaceX32toX86(architecture) {
90811
90811
return architecture;
90812
90812
}
90813
90813
90814
- // node_modules/.pnpm/github.com+actions+setup-python@ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/find-pypy.ts
90814
+ // node_modules/.pnpm/setup-python@https+++codeload. github.com+actions+setup-python+tar.gz+ 2f078955e4d0f34cc7a8b0108b2eb7bbe154438e/node_modules/setup-python/src/find-pypy.ts
90815
90815
var semver4 = __toESM(require_semver4());
90816
90816
var core5 = __toESM(require_core());
90817
90817
var tc4 = __toESM(require_tool_cache());
@@ -91050,6 +91050,10 @@ async function calculateCacheKeys(pythonVersion, cacheDependencyPath) {
91050
91050
const hash = await (0, import_glob.hashFiles)(cacheDependencyPath);
91051
91051
const primaryKey = `setup-pdm-${import_node_process3.default.env.RUNNER_OS}-${import_node_process3.default.env.RUNNER_ARCH}-python-${pythonVersion}-${hash}`;
91052
91052
const restoreKey = `setup-pdm-${import_node_process3.default.env.RUNNER_OS}-${import_node_process3.default.env.RUNNER_ARCH}-python-${pythonVersion}-`;
91053
+ const restoreExactMatch = core7.getBooleanInput("cache-restore-exact-match");
91054
+ if (restoreExactMatch) {
91055
+ return { primaryKey, restoreKeys: [] };
91056
+ }
91053
91057
return { primaryKey, restoreKeys: [restoreKey] };
91054
91058
}
91055
91059
async function cacheDependencies(pdmBin, pythonVersion) {
0 commit comments