mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-05-03 05:08:35 +02:00
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:
parent
544da49fda
commit
c48eef1c6e
7 changed files with 46 additions and 40 deletions
|
@ -26,7 +26,7 @@ index 16b20f7..aea77ba 100644
|
|||
+ constructor(key: string, size?: number);
|
||||
+}
|
||||
diff --git a/node_modules/@actions/cache/lib/cache.js b/node_modules/@actions/cache/lib/cache.js
|
||||
index 0b5a2a8..757ad88 100644
|
||||
index 2dd645a..a392352 100644
|
||||
--- a/node_modules/@actions/cache/lib/cache.js
|
||||
+++ b/node_modules/@actions/cache/lib/cache.js
|
||||
@@ -93,6 +93,7 @@ function restoreCache(paths, primaryKey, restoreKeys, options) {
|
||||
|
@ -54,7 +54,7 @@ index 0b5a2a8..757ad88 100644
|
|||
});
|
||||
}
|
||||
exports.restoreCache = restoreCache;
|
||||
@@ -138,6 +140,7 @@ function saveCache(paths, key, options) {
|
||||
@@ -141,6 +143,7 @@ function saveCache(paths, key, options) {
|
||||
const archiveFolder = yield utils.createTempDirectory();
|
||||
const archivePath = path.join(archiveFolder, utils.getCacheFileName(compressionMethod));
|
||||
core.debug(`Archive Path: ${archivePath}`);
|
||||
|
@ -62,7 +62,7 @@ index 0b5a2a8..757ad88 100644
|
|||
try {
|
||||
yield tar_1.createTar(archiveFolder, cachePaths, compressionMethod);
|
||||
if (core.isDebug()) {
|
||||
@@ -145,6 +148,7 @@ function saveCache(paths, key, options) {
|
||||
@@ -148,6 +151,7 @@ function saveCache(paths, key, options) {
|
||||
}
|
||||
const fileSizeLimit = 10 * 1024 * 1024 * 1024; // 10GB per repo limit
|
||||
const archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath);
|
||||
|
@ -70,7 +70,7 @@ index 0b5a2a8..757ad88 100644
|
|||
core.debug(`File Size: ${archiveFileSize}`);
|
||||
// For GHES, this check will take place in ReserveCache API with enterprise file size limit
|
||||
if (archiveFileSize > fileSizeLimit && !utils.isGhes()) {
|
||||
@@ -176,8 +180,15 @@ function saveCache(paths, key, options) {
|
||||
@@ -179,8 +183,15 @@ function saveCache(paths, key, options) {
|
||||
core.debug(`Failed to delete archive: ${error}`);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue