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
+3 -1
View File
@@ -22,7 +22,9 @@ export async function unixInstall(version: Version): Promise<void> {
if (version.type !== 'local') {
const ver = version.version;
const sha = version.sha;
const cacheKey = `xmake-cache-${ver}-${sha}-${os.arch()}-${os.platform()}-${process.env.RUNNER_OS ?? 'unknown'}`;
const cacheKey = `xmake-cache-${ver}-${sha}-${os.arch()}-${os.platform()}-${
process.env.RUNNER_OS ?? 'unknown'
}`;
if (actionsCacheFolder && process.env.GITHUB_WORKSPACE) {
const fullCachePath = path.join(process.env.GITHUB_WORKSPACE, actionsCacheFolder);