This commit is contained in:
ruki
2022-11-29 00:19:54 +08:00
Unverified
parent 5125115099
commit f8107700be
3 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -70850,7 +70850,8 @@ async function unixInstall(version) {
const actionsCacheFolder = core.getInput('actions-cache-folder');
if (version.type !== 'local') {
const ver = version.version;
const cacheKey = `xmake-cache-${ver}-${os.arch()}-${os.platform()}-${(_a = process.env.RUNNER_OS) !== null && _a !== void 0 ? _a : 'unknown'}`;
const sha = version.sha;
const cacheKey = `xmake-cache-${ver}-${sha}-${os.arch()}-${os.platform()}-${(_a = process.env.RUNNER_OS) !== null && _a !== void 0 ? _a : 'unknown'}`;
if (actionsCacheFolder && process.env.GITHUB_WORKSPACE) {
const fullCachePath = path.join(process.env.GITHUB_WORKSPACE, actionsCacheFolder);
try {