mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 05:19:10 +08:00 
			
		
		
		
	update cache with main
This commit is contained in:
		
							
								
								
									
										5
									
								
								dist/restore-only/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								dist/restore-only/index.js
									
									
									
									
										vendored
									
									
								
							@@ -6779,7 +6779,7 @@ function restoreCacheV2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
 | 
				
			|||||||
            };
 | 
					            };
 | 
				
			||||||
            const response = yield twirpClient.GetCacheEntryDownloadURL(request);
 | 
					            const response = yield twirpClient.GetCacheEntryDownloadURL(request);
 | 
				
			||||||
            if (!response.ok) {
 | 
					            if (!response.ok) {
 | 
				
			||||||
                core.debug(`Cache not found for keys: ${keys.join(', ')}`);
 | 
					                core.debug(`Cache not found for version ${request.version} of keys: ${keys.join(', ')}`);
 | 
				
			||||||
                return undefined;
 | 
					                return undefined;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            core.info(`Cache hit for: ${request.key}`);
 | 
					            core.info(`Cache hit for: ${request.key}`);
 | 
				
			||||||
@@ -9039,7 +9039,6 @@ function maskSigUrl(url) {
 | 
				
			|||||||
        if (signature) {
 | 
					        if (signature) {
 | 
				
			||||||
            (0, core_1.setSecret)(signature);
 | 
					            (0, core_1.setSecret)(signature);
 | 
				
			||||||
            (0, core_1.setSecret)(encodeURIComponent(signature));
 | 
					            (0, core_1.setSecret)(encodeURIComponent(signature));
 | 
				
			||||||
            parsedUrl.searchParams.set('sig', '***');
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    catch (error) {
 | 
					    catch (error) {
 | 
				
			||||||
@@ -71478,7 +71477,7 @@ module.exports = /*#__PURE__*/JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45
 | 
				
			|||||||
/***/ ((module) => {
 | 
					/***/ ((module) => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"use strict";
 | 
					"use strict";
 | 
				
			||||||
module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"4.0.2","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0","@protobuf-ts/plugin":"^2.9.4","semver":"^6.3.1"},"devDependencies":{"@types/node":"^22.13.9","@types/semver":"^6.0.0","typescript":"^5.2.2"}}');
 | 
					module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"4.0.3","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0","@protobuf-ts/plugin":"^2.9.4","semver":"^6.3.1"},"devDependencies":{"@types/node":"^22.13.9","@types/semver":"^6.0.0","typescript":"^5.2.2"}}');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/***/ })
 | 
					/***/ })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										5
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							@@ -6779,7 +6779,7 @@ function restoreCacheV2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
 | 
				
			|||||||
            };
 | 
					            };
 | 
				
			||||||
            const response = yield twirpClient.GetCacheEntryDownloadURL(request);
 | 
					            const response = yield twirpClient.GetCacheEntryDownloadURL(request);
 | 
				
			||||||
            if (!response.ok) {
 | 
					            if (!response.ok) {
 | 
				
			||||||
                core.debug(`Cache not found for keys: ${keys.join(', ')}`);
 | 
					                core.debug(`Cache not found for version ${request.version} of keys: ${keys.join(', ')}`);
 | 
				
			||||||
                return undefined;
 | 
					                return undefined;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            core.info(`Cache hit for: ${request.key}`);
 | 
					            core.info(`Cache hit for: ${request.key}`);
 | 
				
			||||||
@@ -9039,7 +9039,6 @@ function maskSigUrl(url) {
 | 
				
			|||||||
        if (signature) {
 | 
					        if (signature) {
 | 
				
			||||||
            (0, core_1.setSecret)(signature);
 | 
					            (0, core_1.setSecret)(signature);
 | 
				
			||||||
            (0, core_1.setSecret)(encodeURIComponent(signature));
 | 
					            (0, core_1.setSecret)(encodeURIComponent(signature));
 | 
				
			||||||
            parsedUrl.searchParams.set('sig', '***');
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    catch (error) {
 | 
					    catch (error) {
 | 
				
			||||||
@@ -71478,7 +71477,7 @@ module.exports = /*#__PURE__*/JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45
 | 
				
			|||||||
/***/ ((module) => {
 | 
					/***/ ((module) => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"use strict";
 | 
					"use strict";
 | 
				
			||||||
module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"4.0.2","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0","@protobuf-ts/plugin":"^2.9.4","semver":"^6.3.1"},"devDependencies":{"@types/node":"^22.13.9","@types/semver":"^6.0.0","typescript":"^5.2.2"}}');
 | 
					module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"4.0.3","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0","@protobuf-ts/plugin":"^2.9.4","semver":"^6.3.1"},"devDependencies":{"@types/node":"^22.13.9","@types/semver":"^6.0.0","typescript":"^5.2.2"}}');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/***/ })
 | 
					/***/ })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										5
									
								
								dist/save-only/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								dist/save-only/index.js
									
									
									
									
										vendored
									
									
								
							@@ -6779,7 +6779,7 @@ function restoreCacheV2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
 | 
				
			|||||||
            };
 | 
					            };
 | 
				
			||||||
            const response = yield twirpClient.GetCacheEntryDownloadURL(request);
 | 
					            const response = yield twirpClient.GetCacheEntryDownloadURL(request);
 | 
				
			||||||
            if (!response.ok) {
 | 
					            if (!response.ok) {
 | 
				
			||||||
                core.debug(`Cache not found for keys: ${keys.join(', ')}`);
 | 
					                core.debug(`Cache not found for version ${request.version} of keys: ${keys.join(', ')}`);
 | 
				
			||||||
                return undefined;
 | 
					                return undefined;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            core.info(`Cache hit for: ${request.key}`);
 | 
					            core.info(`Cache hit for: ${request.key}`);
 | 
				
			||||||
@@ -9039,7 +9039,6 @@ function maskSigUrl(url) {
 | 
				
			|||||||
        if (signature) {
 | 
					        if (signature) {
 | 
				
			||||||
            (0, core_1.setSecret)(signature);
 | 
					            (0, core_1.setSecret)(signature);
 | 
				
			||||||
            (0, core_1.setSecret)(encodeURIComponent(signature));
 | 
					            (0, core_1.setSecret)(encodeURIComponent(signature));
 | 
				
			||||||
            parsedUrl.searchParams.set('sig', '***');
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    catch (error) {
 | 
					    catch (error) {
 | 
				
			||||||
@@ -71491,7 +71490,7 @@ module.exports = /*#__PURE__*/JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45
 | 
				
			|||||||
/***/ ((module) => {
 | 
					/***/ ((module) => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"use strict";
 | 
					"use strict";
 | 
				
			||||||
module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"4.0.2","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0","@protobuf-ts/plugin":"^2.9.4","semver":"^6.3.1"},"devDependencies":{"@types/node":"^22.13.9","@types/semver":"^6.0.0","typescript":"^5.2.2"}}');
 | 
					module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"4.0.3","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0","@protobuf-ts/plugin":"^2.9.4","semver":"^6.3.1"},"devDependencies":{"@types/node":"^22.13.9","@types/semver":"^6.0.0","typescript":"^5.2.2"}}');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/***/ })
 | 
					/***/ })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										5
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							@@ -6779,7 +6779,7 @@ function restoreCacheV2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
 | 
				
			|||||||
            };
 | 
					            };
 | 
				
			||||||
            const response = yield twirpClient.GetCacheEntryDownloadURL(request);
 | 
					            const response = yield twirpClient.GetCacheEntryDownloadURL(request);
 | 
				
			||||||
            if (!response.ok) {
 | 
					            if (!response.ok) {
 | 
				
			||||||
                core.debug(`Cache not found for keys: ${keys.join(', ')}`);
 | 
					                core.debug(`Cache not found for version ${request.version} of keys: ${keys.join(', ')}`);
 | 
				
			||||||
                return undefined;
 | 
					                return undefined;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            core.info(`Cache hit for: ${request.key}`);
 | 
					            core.info(`Cache hit for: ${request.key}`);
 | 
				
			||||||
@@ -9039,7 +9039,6 @@ function maskSigUrl(url) {
 | 
				
			|||||||
        if (signature) {
 | 
					        if (signature) {
 | 
				
			||||||
            (0, core_1.setSecret)(signature);
 | 
					            (0, core_1.setSecret)(signature);
 | 
				
			||||||
            (0, core_1.setSecret)(encodeURIComponent(signature));
 | 
					            (0, core_1.setSecret)(encodeURIComponent(signature));
 | 
				
			||||||
            parsedUrl.searchParams.set('sig', '***');
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    catch (error) {
 | 
					    catch (error) {
 | 
				
			||||||
@@ -71491,7 +71490,7 @@ module.exports = /*#__PURE__*/JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45
 | 
				
			|||||||
/***/ ((module) => {
 | 
					/***/ ((module) => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"use strict";
 | 
					"use strict";
 | 
				
			||||||
module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"4.0.2","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0","@protobuf-ts/plugin":"^2.9.4","semver":"^6.3.1"},"devDependencies":{"@types/node":"^22.13.9","@types/semver":"^6.0.0","typescript":"^5.2.2"}}');
 | 
					module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"4.0.3","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0","@protobuf-ts/plugin":"^2.9.4","semver":"^6.3.1"},"devDependencies":{"@types/node":"^22.13.9","@types/semver":"^6.0.0","typescript":"^5.2.2"}}');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/***/ })
 | 
					/***/ })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user