Add inputs restore-cache and save-cache (#568)

Closes: #555
This commit is contained in:
Kevin Stillhammer 2025-09-14 14:55:08 +02:00 committed by GitHub
parent f67343ac2e
commit dc724a12b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 149 additions and 9 deletions

View file

@ -8,6 +8,8 @@ export const pythonVersion = core.getInput("python-version");
export const activateEnvironment = core.getBooleanInput("activate-environment");
export const checkSum = core.getInput("checksum");
export const enableCache = getEnableCache();
export const restoreCache = core.getInput("restore-cache") === "true";
export const saveCache = core.getInput("save-cache") === "true";
export const cacheSuffix = core.getInput("cache-suffix") || "";
export const cacheLocalPath = getCacheLocalPath();
export const cacheDependencyGlob = getCacheDependencyGlob();