Update dependencies

- Bump @actions/cache from 2.0.4 to 2.0.5
- Bump ts-jest from 28.0.2 to 28.0.3
- Bump typescript from 4.6.4 to 4.7.2
- Bump @vercel/ncc from 0.33.4 to 0.34.0
This commit is contained in:
Daz DeBoer 2022-05-28 08:08:08 -06:00
parent 544da49fda
commit c48eef1c6e
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
7 changed files with 46 additions and 40 deletions

3
dist/main/index.js vendored
View file

@ -144,6 +144,9 @@ function saveCache(paths, key, options) {
const cachePaths = yield utils.resolvePaths(paths);
core.debug('Cache Paths:');
core.debug(`${JSON.stringify(cachePaths)}`);
if (cachePaths.length === 0) {
throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`);
}
const archiveFolder = yield utils.createTempDirectory();
const archivePath = path.join(archiveFolder, utils.getCacheFileName(compressionMethod));
core.debug(`Archive Path: ${archivePath}`);

File diff suppressed because one or more lines are too long

3
dist/post/index.js vendored
View file

@ -144,6 +144,9 @@ function saveCache(paths, key, options) {
const cachePaths = yield utils.resolvePaths(paths);
core.debug('Cache Paths:');
core.debug(`${JSON.stringify(cachePaths)}`);
if (cachePaths.length === 0) {
throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`);
}
const archiveFolder = yield utils.createTempDirectory();
const archivePath = path.join(archiveFolder, utils.getCacheFileName(compressionMethod));
core.debug(`Archive Path: ${archivePath}`);

File diff suppressed because one or more lines are too long