Compare commits

...

3 Commits

Author SHA1 Message Date
Zxilly
92c3457414
Merge 574251b8c5 into 67fbd726da 2024-08-09 19:21:27 +08:00
John Jiang
67fbd726da
Fix typos on Corretto (#665) (#666) 2024-08-08 12:07:49 -05:00
Zxilly
574251b8c5
fix: add arch to cache key 2024-07-25 15:54:38 +08:00
4 changed files with 4304 additions and 4304 deletions

View File

@ -88116,7 +88116,7 @@ function computeCacheKey(packageManager, cacheDependencyPath) {
if (!fileHash) { if (!fileHash) {
throw new Error(`No file in ${process.cwd()} matched to [${pattern}], make sure you have checked out the target repository`); throw new Error(`No file in ${process.cwd()} matched to [${pattern}], make sure you have checked out the target repository`);
} }
return `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${packageManager.id}-${fileHash}`; return `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${process.arch}-${packageManager.id}-${fileHash}`;
}); });
} }
/** /**

8600
dist/setup/index.js vendored

File diff suppressed because it is too large Load Diff

View File

@ -98,7 +98,7 @@ async function computeCacheKey(
`No file in ${process.cwd()} matched to [${pattern}], make sure you have checked out the target repository` `No file in ${process.cwd()} matched to [${pattern}], make sure you have checked out the target repository`
); );
} }
return `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${packageManager.id}-${fileHash}`; return `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${process.arch}-${packageManager.id}-${fileHash}`;
} }
/** /**

View File

@ -93,7 +93,7 @@ export class CorrettoDistribution extends JavaBase {
const imageType = this.packageType; const imageType = this.packageType;
if (core.isDebug()) { if (core.isDebug()) {
console.time('Retrieving available versions for Coretto took'); // eslint-disable-line no-console console.time('Retrieving available versions for Corretto took'); // eslint-disable-line no-console
} }
const availableVersionsUrl = const availableVersionsUrl =
@ -116,7 +116,7 @@ export class CorrettoDistribution extends JavaBase {
if (core.isDebug()) { if (core.isDebug()) {
core.startGroup('Print information about available versions'); core.startGroup('Print information about available versions');
console.timeEnd('Retrieving available versions for Coretto took'); // eslint-disable-line no-console console.timeEnd('Retrieving available versions for Corretto took'); // eslint-disable-line no-console
core.debug(`Available versions: [${availableVersions.length}]`); core.debug(`Available versions: [${availableVersions.length}]`);
core.debug( core.debug(
availableVersions availableVersions