mirror of
https://github.com/actions/cache.git
synced 2026-09-29 08:08:46 +00:00
Format and update tests
This commit is contained in:
+3
-2
@@ -38,7 +38,9 @@ async function run(): Promise<void> {
|
||||
core.debug("Reserving Cache");
|
||||
const cacheId = await cacheHttpClient.reserveCache(primaryKey);
|
||||
if (cacheId < 0) {
|
||||
core.info(`Unable to reserve cache with key ${primaryKey}, another job may be creating this cache.`);
|
||||
core.info(
|
||||
`Unable to reserve cache with key ${primaryKey}, another job may be creating this cache.`
|
||||
);
|
||||
return;
|
||||
}
|
||||
core.debug(`Cache ID: ${cacheId}`);
|
||||
@@ -84,7 +86,6 @@ async function run(): Promise<void> {
|
||||
return;
|
||||
}
|
||||
|
||||
await exec(`md5sum`, [archivePath]);
|
||||
core.debug("Saving Cache");
|
||||
await cacheHttpClient.saveCache(cacheId, archivePath);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user