mirror of
				https://github.com/actions/cache.git
				synced 2025-10-30 06:47:59 +07:00 
			
		
		
		
	Compare commits
	
		
			4 Commits
		
	
	
		
			node-updat
			...
			test-fast
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 47ad7e4077 | |||
| 64d30fb518 | |||
| 1a2d984507 | |||
| 7ca5bf5d35 | 
| @ -18,7 +18,7 @@ outputs: | |||||||
|   cache-hit: |   cache-hit: | ||||||
|     description: 'A boolean value to indicate an exact match was found for the primary key' |     description: 'A boolean value to indicate an exact match was found for the primary key' | ||||||
| runs: | runs: | ||||||
|   using: 'node16' |   using: 'node12' | ||||||
|   main: 'dist/restore/index.js' |   main: 'dist/restore/index.js' | ||||||
|   post: 'dist/save/index.js' |   post: 'dist/save/index.js' | ||||||
|   post-if: 'success()' |   post-if: 'success()' | ||||||
|  | |||||||
							
								
								
									
										
											BIN
										
									
								
								actions-cache-1.0.9.tgz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								actions-cache-1.0.9.tgz
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										42
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										42
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							| @ -1473,17 +1473,7 @@ exports.parseURL = __webpack_require__(936).parseURL; | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /***/ }), | /***/ }), | ||||||
| /* 71 */ | /* 71 */, | ||||||
| /***/ (function() { |  | ||||||
| 
 |  | ||||||
| "use strict"; |  | ||||||
| 
 |  | ||||||
| if (typeof Symbol === undefined || !Symbol.asyncIterator) { |  | ||||||
|     Symbol.asyncIterator = Symbol.for("Symbol.asyncIterator"); |  | ||||||
| } |  | ||||||
| //# sourceMappingURL=index.js.map
 |  | ||||||
| 
 |  | ||||||
| /***/ }), |  | ||||||
| /* 72 */, | /* 72 */, | ||||||
| /* 73 */, | /* 73 */, | ||||||
| /* 74 */, | /* 74 */, | ||||||
| @ -2743,7 +2733,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); | |||||||
| 
 | 
 | ||||||
| /***/ }), | /***/ }), | ||||||
| /* 96 */, | /* 96 */, | ||||||
| /* 97 */, | /* 97 */ | ||||||
|  | /***/ (function() { | ||||||
|  | 
 | ||||||
|  | "use strict"; | ||||||
|  | 
 | ||||||
|  | // Copyright (c) Microsoft Corporation.
 | ||||||
|  | // Licensed under the MIT license.
 | ||||||
|  | if (typeof Symbol === undefined || !Symbol.asyncIterator) { | ||||||
|  |     Symbol.asyncIterator = Symbol.for("Symbol.asyncIterator"); | ||||||
|  | } | ||||||
|  | //# sourceMappingURL=index.js.map
 | ||||||
|  | 
 | ||||||
|  | /***/ }), | ||||||
| /* 98 */, | /* 98 */, | ||||||
| /* 99 */, | /* 99 */, | ||||||
| /* 100 */, | /* 100 */, | ||||||
| @ -35986,9 +35988,9 @@ function extractTar(archivePath, compressionMethod) { | |||||||
|         function getCompressionProgram() { |         function getCompressionProgram() { | ||||||
|             switch (compressionMethod) { |             switch (compressionMethod) { | ||||||
|                 case constants_1.CompressionMethod.Zstd: |                 case constants_1.CompressionMethod.Zstd: | ||||||
|                     return ['--use-compress-program', 'zstd -d --long=30']; |                     return ['--use-compress-program', 'zstd -d --fast=1 --long=30']; | ||||||
|                 case constants_1.CompressionMethod.ZstdWithoutLong: |                 case constants_1.CompressionMethod.ZstdWithoutLong: | ||||||
|                     return ['--use-compress-program', 'zstd -d']; |                     return ['--use-compress-program', 'zstd -d --fast=1']; | ||||||
|                 default: |                 default: | ||||||
|                     return ['-z']; |                     return ['-z']; | ||||||
|             } |             } | ||||||
| @ -36019,9 +36021,9 @@ function createTar(archiveFolder, sourceDirectories, compressionMethod) { | |||||||
|         function getCompressionProgram() { |         function getCompressionProgram() { | ||||||
|             switch (compressionMethod) { |             switch (compressionMethod) { | ||||||
|                 case constants_1.CompressionMethod.Zstd: |                 case constants_1.CompressionMethod.Zstd: | ||||||
|                     return ['--use-compress-program', 'zstd -T0 --long=30']; |                     return ['--use-compress-program', 'zstd -T0 --fast=1 --long=30']; | ||||||
|                 case constants_1.CompressionMethod.ZstdWithoutLong: |                 case constants_1.CompressionMethod.ZstdWithoutLong: | ||||||
|                     return ['--use-compress-program', 'zstd -T0']; |                     return ['--use-compress-program', 'zstd -T0 --fast=1']; | ||||||
|                 default: |                 default: | ||||||
|                     return ['-z']; |                     return ['-z']; | ||||||
|             } |             } | ||||||
| @ -36050,9 +36052,9 @@ function listTar(archivePath, compressionMethod) { | |||||||
|         function getCompressionProgram() { |         function getCompressionProgram() { | ||||||
|             switch (compressionMethod) { |             switch (compressionMethod) { | ||||||
|                 case constants_1.CompressionMethod.Zstd: |                 case constants_1.CompressionMethod.Zstd: | ||||||
|                     return ['--use-compress-program', 'zstd -d --long=30']; |                     return ['--use-compress-program', 'zstd -d --fast=1 --long=30']; | ||||||
|                 case constants_1.CompressionMethod.ZstdWithoutLong: |                 case constants_1.CompressionMethod.ZstdWithoutLong: | ||||||
|                     return ['--use-compress-program', 'zstd -d']; |                     return ['--use-compress-program', 'zstd -d --fast=1']; | ||||||
|                 default: |                 default: | ||||||
|                     return ['-z']; |                     return ['-z']; | ||||||
|             } |             } | ||||||
| @ -39151,7 +39153,7 @@ function defer(fn) | |||||||
| 
 | 
 | ||||||
| Object.defineProperty(exports, '__esModule', { value: true }); | Object.defineProperty(exports, '__esModule', { value: true }); | ||||||
| 
 | 
 | ||||||
| __webpack_require__(71); | __webpack_require__(97); | ||||||
| var tslib = __webpack_require__(671); | var tslib = __webpack_require__(671); | ||||||
| 
 | 
 | ||||||
| // Copyright (c) Microsoft Corporation.
 | // Copyright (c) Microsoft Corporation.
 | ||||||
| @ -53428,7 +53430,7 @@ var FormData = __webpack_require__(790); | |||||||
| var node_fetch = __webpack_require__(454); | var node_fetch = __webpack_require__(454); | ||||||
| var coreTracing = __webpack_require__(263); | var coreTracing = __webpack_require__(263); | ||||||
| var url = __webpack_require__(835); | var url = __webpack_require__(835); | ||||||
| __webpack_require__(71); | __webpack_require__(97); | ||||||
| 
 | 
 | ||||||
| function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										42
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										42
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							| @ -1473,17 +1473,7 @@ exports.parseURL = __webpack_require__(936).parseURL; | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /***/ }), | /***/ }), | ||||||
| /* 71 */ | /* 71 */, | ||||||
| /***/ (function() { |  | ||||||
| 
 |  | ||||||
| "use strict"; |  | ||||||
| 
 |  | ||||||
| if (typeof Symbol === undefined || !Symbol.asyncIterator) { |  | ||||||
|     Symbol.asyncIterator = Symbol.for("Symbol.asyncIterator"); |  | ||||||
| } |  | ||||||
| //# sourceMappingURL=index.js.map
 |  | ||||||
| 
 |  | ||||||
| /***/ }), |  | ||||||
| /* 72 */, | /* 72 */, | ||||||
| /* 73 */, | /* 73 */, | ||||||
| /* 74 */, | /* 74 */, | ||||||
| @ -2743,7 +2733,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); | |||||||
| 
 | 
 | ||||||
| /***/ }), | /***/ }), | ||||||
| /* 96 */, | /* 96 */, | ||||||
| /* 97 */, | /* 97 */ | ||||||
|  | /***/ (function() { | ||||||
|  | 
 | ||||||
|  | "use strict"; | ||||||
|  | 
 | ||||||
|  | // Copyright (c) Microsoft Corporation.
 | ||||||
|  | // Licensed under the MIT license.
 | ||||||
|  | if (typeof Symbol === undefined || !Symbol.asyncIterator) { | ||||||
|  |     Symbol.asyncIterator = Symbol.for("Symbol.asyncIterator"); | ||||||
|  | } | ||||||
|  | //# sourceMappingURL=index.js.map
 | ||||||
|  | 
 | ||||||
|  | /***/ }), | ||||||
| /* 98 */, | /* 98 */, | ||||||
| /* 99 */, | /* 99 */, | ||||||
| /* 100 */, | /* 100 */, | ||||||
| @ -35986,9 +35988,9 @@ function extractTar(archivePath, compressionMethod) { | |||||||
|         function getCompressionProgram() { |         function getCompressionProgram() { | ||||||
|             switch (compressionMethod) { |             switch (compressionMethod) { | ||||||
|                 case constants_1.CompressionMethod.Zstd: |                 case constants_1.CompressionMethod.Zstd: | ||||||
|                     return ['--use-compress-program', 'zstd -d --long=30']; |                     return ['--use-compress-program', 'zstd -d --fast=1 --long=30']; | ||||||
|                 case constants_1.CompressionMethod.ZstdWithoutLong: |                 case constants_1.CompressionMethod.ZstdWithoutLong: | ||||||
|                     return ['--use-compress-program', 'zstd -d']; |                     return ['--use-compress-program', 'zstd -d --fast=1']; | ||||||
|                 default: |                 default: | ||||||
|                     return ['-z']; |                     return ['-z']; | ||||||
|             } |             } | ||||||
| @ -36019,9 +36021,9 @@ function createTar(archiveFolder, sourceDirectories, compressionMethod) { | |||||||
|         function getCompressionProgram() { |         function getCompressionProgram() { | ||||||
|             switch (compressionMethod) { |             switch (compressionMethod) { | ||||||
|                 case constants_1.CompressionMethod.Zstd: |                 case constants_1.CompressionMethod.Zstd: | ||||||
|                     return ['--use-compress-program', 'zstd -T0 --long=30']; |                     return ['--use-compress-program', 'zstd -T0 --fast=1 --long=30']; | ||||||
|                 case constants_1.CompressionMethod.ZstdWithoutLong: |                 case constants_1.CompressionMethod.ZstdWithoutLong: | ||||||
|                     return ['--use-compress-program', 'zstd -T0']; |                     return ['--use-compress-program', 'zstd -T0 --fast=1']; | ||||||
|                 default: |                 default: | ||||||
|                     return ['-z']; |                     return ['-z']; | ||||||
|             } |             } | ||||||
| @ -36050,9 +36052,9 @@ function listTar(archivePath, compressionMethod) { | |||||||
|         function getCompressionProgram() { |         function getCompressionProgram() { | ||||||
|             switch (compressionMethod) { |             switch (compressionMethod) { | ||||||
|                 case constants_1.CompressionMethod.Zstd: |                 case constants_1.CompressionMethod.Zstd: | ||||||
|                     return ['--use-compress-program', 'zstd -d --long=30']; |                     return ['--use-compress-program', 'zstd -d --fast=1 --long=30']; | ||||||
|                 case constants_1.CompressionMethod.ZstdWithoutLong: |                 case constants_1.CompressionMethod.ZstdWithoutLong: | ||||||
|                     return ['--use-compress-program', 'zstd -d']; |                     return ['--use-compress-program', 'zstd -d --fast=1']; | ||||||
|                 default: |                 default: | ||||||
|                     return ['-z']; |                     return ['-z']; | ||||||
|             } |             } | ||||||
| @ -39151,7 +39153,7 @@ function defer(fn) | |||||||
| 
 | 
 | ||||||
| Object.defineProperty(exports, '__esModule', { value: true }); | Object.defineProperty(exports, '__esModule', { value: true }); | ||||||
| 
 | 
 | ||||||
| __webpack_require__(71); | __webpack_require__(97); | ||||||
| var tslib = __webpack_require__(671); | var tslib = __webpack_require__(671); | ||||||
| 
 | 
 | ||||||
| // Copyright (c) Microsoft Corporation.
 | // Copyright (c) Microsoft Corporation.
 | ||||||
| @ -53431,7 +53433,7 @@ var FormData = __webpack_require__(790); | |||||||
| var node_fetch = __webpack_require__(454); | var node_fetch = __webpack_require__(454); | ||||||
| var coreTracing = __webpack_require__(263); | var coreTracing = __webpack_require__(263); | ||||||
| var url = __webpack_require__(835); | var url = __webpack_require__(835); | ||||||
| __webpack_require__(71); | __webpack_require__(97); | ||||||
| 
 | 
 | ||||||
| function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										4221
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4221
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										16
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								package.json
									
									
									
									
									
								
							| @ -23,7 +23,7 @@ | |||||||
|   "author": "GitHub", |   "author": "GitHub", | ||||||
|   "license": "MIT", |   "license": "MIT", | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@actions/cache": "^1.0.9", |     "@actions/cache": "file:actions-cache-1.0.9.tgz", | ||||||
|     "@actions/core": "^1.2.6", |     "@actions/core": "^1.2.6", | ||||||
|     "@actions/exec": "^1.0.1", |     "@actions/exec": "^1.0.1", | ||||||
|     "@actions/io": "^1.1.0" |     "@actions/io": "^1.1.0" | ||||||
| @ -31,18 +31,18 @@ | |||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@types/jest": "^27.4.0", |     "@types/jest": "^27.4.0", | ||||||
|     "@types/nock": "^11.1.0", |     "@types/nock": "^11.1.0", | ||||||
|     "@types/node": "^16.11.25", |     "@types/node": "^12.20.42", | ||||||
|     "@typescript-eslint/eslint-plugin": "^5.12.0", |     "@typescript-eslint/eslint-plugin": "^5.10.1", | ||||||
|     "@typescript-eslint/parser": "^5.12.0", |     "@typescript-eslint/parser": "^5.10.1", | ||||||
|     "@zeit/ncc": "^0.20.5", |     "@zeit/ncc": "^0.20.5", | ||||||
|     "eslint": "^8.9.0", |     "eslint": "^8.8.0", | ||||||
|     "eslint-config-prettier": "^8.3.0", |     "eslint-config-prettier": "^8.3.0", | ||||||
|     "eslint-plugin-import": "^2.25.4", |     "eslint-plugin-import": "^2.25.4", | ||||||
|     "eslint-plugin-jest": "^26.1.0", |     "eslint-plugin-jest": "^26.0.0", | ||||||
|     "eslint-plugin-prettier": "^4.0.0", |     "eslint-plugin-prettier": "^4.0.0", | ||||||
|     "eslint-plugin-simple-import-sort": "^7.0.0", |     "eslint-plugin-simple-import-sort": "^7.0.0", | ||||||
|     "jest": "^27.5.1", |     "jest": "^27.4.7", | ||||||
|     "jest-circus": "^27.5.1", |     "jest-circus": "^27.4.6", | ||||||
|     "nock": "^11.7.0", |     "nock": "^11.7.0", | ||||||
|     "prettier": "^2.5.1", |     "prettier": "^2.5.1", | ||||||
|     "ts-jest": "^27.1.3", |     "ts-jest": "^27.1.3", | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	