add cache backup file

This commit is contained in:
Evgenii Korolevskii 2023-01-20 01:52:16 +01:00
parent 8644d4cc22
commit c72f56dac9

View file

@ -61,7 +61,6 @@ class PipCache extends CacheDistributor {
protected async computeKeys() {
const hash = await glob.hashFiles(this.cacheDependencyPath)
|| await glob.hashFiles(this.cacheDependencyBackupPath);
core.info(`Cache key hash: ${hash}`);
let primaryKey = '';
let restoreKey = '';