Compare commits
	
		
			14 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 01b0229624 | |||
| c4678ef19f | |||
| fe28a720e4 | |||
| 84dee78cdb | |||
| bd9fe45728 | |||
| e9d6e93306 | |||
| a89dcfa06d | |||
| 114965806a | |||
| 2bdaf00273 | |||
| 9c77c9dbfc | |||
| 29cdd22c60 | |||
| 0781355a23 | |||
| 22c64ac772 | |||
| 8819edf476 | 
							
								
								
									
										1
									
								
								.github/CODEOWNERS
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.github/CODEOWNERS
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | |||||||
|  | * @artifacts-actions | ||||||
							
								
								
									
										
											BIN
										
									
								
								.licenses/npm/@actions/cache.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.licenses/npm/@actions/cache.dep.yml
									
									
									
										generated
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								.licenses/npm/@actions/core.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.licenses/npm/@actions/core.dep.yml
									
									
									
										generated
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								.licenses/npm/@actions/http-client.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.licenses/npm/@actions/http-client.dep.yml
									
									
									
										generated
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								.licenses/npm/@azure/core-http.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.licenses/npm/@azure/core-http.dep.yml
									
									
									
										generated
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								.licenses/npm/@azure/core-paging.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.licenses/npm/@azure/core-paging.dep.yml
									
									
									
										generated
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								.licenses/npm/@azure/core-tracing-1.0.0-preview.9.dep.yml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.licenses/npm/@azure/core-tracing-1.0.0-preview.9.dep.yml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								.licenses/npm/@azure/ms-rest-js.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.licenses/npm/@azure/ms-rest-js.dep.yml
									
									
									
										generated
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								.licenses/npm/@azure/storage-blob.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.licenses/npm/@azure/storage-blob.dep.yml
									
									
									
										generated
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								.licenses/npm/@opentelemetry/api-0.10.2.dep.yml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.licenses/npm/@opentelemetry/api-0.10.2.dep.yml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								.licenses/npm/@opentelemetry/context-base-0.10.2.dep.yml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.licenses/npm/@opentelemetry/context-base-0.10.2.dep.yml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								.licenses/npm/node-fetch.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.licenses/npm/node-fetch.dep.yml
									
									
									
										generated
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								.licenses/npm/tslib-1.14.1.dep.yml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.licenses/npm/tslib-1.14.1.dep.yml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @ -213,6 +213,39 @@ test("getInputAsArray handles empty lines correctly", () => { | |||||||
|     expect(actionUtils.getInputAsArray("foo")).toEqual(["bar", "baz"]); |     expect(actionUtils.getInputAsArray("foo")).toEqual(["bar", "baz"]); | ||||||
| }); | }); | ||||||
|  |  | ||||||
|  | test("getInputAsArray sorts files correctly", () => { | ||||||
|  |     testUtils.setInput( | ||||||
|  |         "foo", | ||||||
|  |         "bar\n!baz\nwaldo\nqux\nquux\ncorge\ngrault\ngarply" | ||||||
|  |     ); | ||||||
|  |     expect(actionUtils.getInputAsArray("foo")).toEqual([ | ||||||
|  |         "!baz", | ||||||
|  |         "bar", | ||||||
|  |         "corge", | ||||||
|  |         "garply", | ||||||
|  |         "grault", | ||||||
|  |         "quux", | ||||||
|  |         "qux", | ||||||
|  |         "waldo" | ||||||
|  |     ]); | ||||||
|  | }); | ||||||
|  |  | ||||||
|  | test("getInputAsArray removes spaces after ! at the beginning", () => { | ||||||
|  |     testUtils.setInput( | ||||||
|  |         "foo", | ||||||
|  |         "!   bar\n!  baz\n! qux\n!quux\ncorge\ngrault! garply\n!\r\t waldo" | ||||||
|  |     ); | ||||||
|  |     expect(actionUtils.getInputAsArray("foo")).toEqual([ | ||||||
|  |         "!bar", | ||||||
|  |         "!baz", | ||||||
|  |         "!quux", | ||||||
|  |         "!qux", | ||||||
|  |         "!waldo", | ||||||
|  |         "corge", | ||||||
|  |         "grault! garply" | ||||||
|  |     ]); | ||||||
|  | }); | ||||||
|  |  | ||||||
| test("getInputAsInt returns undefined if input not set", () => { | test("getInputAsInt returns undefined if input not set", () => { | ||||||
|     expect(actionUtils.getInputAsInt("undefined")).toBeUndefined(); |     expect(actionUtils.getInputAsInt("undefined")).toBeUndefined(); | ||||||
| }); | }); | ||||||
|  | |||||||
| @ -97,7 +97,7 @@ test("restore with no key", async () => { | |||||||
| test("restore with too many keys should fail", async () => { | test("restore with too many keys should fail", async () => { | ||||||
|     const path = "node_modules"; |     const path = "node_modules"; | ||||||
|     const key = "node-test"; |     const key = "node-test"; | ||||||
|     const restoreKeys = [...Array(20).keys()].map(x => x.toString()); |     const restoreKeys = [...Array(20).keys()].map(x => x.toString()).sort(); | ||||||
|     testUtils.setInputs({ |     testUtils.setInputs({ | ||||||
|         path: path, |         path: path, | ||||||
|         key, |         key, | ||||||
|  | |||||||
							
								
								
									
										43672
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										43672
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										43672
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										43672
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										148
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										148
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -1,18 +1,18 @@ | |||||||
| { | { | ||||||
|   "name": "cache", |   "name": "cache", | ||||||
|   "version": "2.1.2", |   "version": "2.1.3", | ||||||
|   "lockfileVersion": 1, |   "lockfileVersion": 1, | ||||||
|   "requires": true, |   "requires": true, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@actions/cache": { |     "@actions/cache": { | ||||||
|       "version": "1.0.2", |       "version": "1.0.4", | ||||||
|       "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-1.0.2.tgz", |       "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-1.0.4.tgz", | ||||||
|       "integrity": "sha512-CzAseaJ4cKmOI58EIWUb/LfeYdM7Y25s39OEMtWAhEPrPPzrbSEjGHCLaYjJ0V8C4iojo8vBYh5B3OIJ37EiJw==", |       "integrity": "sha512-1grYfbu8P6JDDHc40eOI5tQDRcAxMwq5HBWhaCqEg9o/ixDRZfwPHlQvQAop2ZzFCjF2ns0ENQOIBAH8GNn+zA==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "@actions/core": "^1.2.4", |         "@actions/core": "^1.2.6", | ||||||
|         "@actions/exec": "^1.0.1", |         "@actions/exec": "^1.0.1", | ||||||
|         "@actions/glob": "^0.1.0", |         "@actions/glob": "^0.1.0", | ||||||
|         "@actions/http-client": "^1.0.8", |         "@actions/http-client": "^1.0.9", | ||||||
|         "@actions/io": "^1.0.1", |         "@actions/io": "^1.0.1", | ||||||
|         "@azure/ms-rest-js": "^2.0.7", |         "@azure/ms-rest-js": "^2.0.7", | ||||||
|         "@azure/storage-blob": "^12.1.2", |         "@azure/storage-blob": "^12.1.2", | ||||||
| @ -21,9 +21,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "@actions/core": { |     "@actions/core": { | ||||||
|       "version": "1.2.4", |       "version": "1.2.6", | ||||||
|       "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.4.tgz", |       "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.6.tgz", | ||||||
|       "integrity": "sha512-YJCEq8BE3CdN8+7HPZ/4DxJjk/OkZV2FFIf+DlZTC/4iBlzYCD5yjRR6eiOS5llO11zbRltIRuKAjMKaWTE6cg==" |       "integrity": "sha512-ZQYitnqiyBc3D+k7LsgSBmMDVkOVidaagDG7j3fOym77jNunWRuYx7VSHa9GNfFZh+zh61xsCjRj4JxMZlDqTA==" | ||||||
|     }, |     }, | ||||||
|     "@actions/exec": { |     "@actions/exec": { | ||||||
|       "version": "1.0.4", |       "version": "1.0.4", | ||||||
| @ -43,9 +43,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "@actions/http-client": { |     "@actions/http-client": { | ||||||
|       "version": "1.0.8", |       "version": "1.0.9", | ||||||
|       "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.8.tgz", |       "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.9.tgz", | ||||||
|       "integrity": "sha512-G4JjJ6f9Hb3Zvejj+ewLLKLf99ZC+9v+yCxoYf9vSyH+WkzPLB2LuUtRMGNkooMqdugGBFStIKXOuvH1W+EctA==", |       "integrity": "sha512-0O4SsJ7q+MK0ycvXPl2e6bMXV7dxAXOGjrXS1eTF9s2S401Tp6c/P3c3Joz04QefC1J6Gt942Wl2jbm3f4mLcg==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "tunnel": "0.0.6" |         "tunnel": "0.0.6" | ||||||
|       } |       } | ||||||
| @ -78,24 +78,49 @@ | |||||||
|         "@opentelemetry/api": "^0.6.1", |         "@opentelemetry/api": "^0.6.1", | ||||||
|         "tslib": "^2.0.0" |         "tslib": "^2.0.0" | ||||||
|       }, |       }, | ||||||
|  |       "dependencies": { | ||||||
|  |         "@azure/core-tracing": { | ||||||
|  |           "version": "1.0.0-preview.8", | ||||||
|  |           "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.0.0-preview.8.tgz", | ||||||
|  |           "integrity": "sha512-ZKUpCd7Dlyfn7bdc+/zC/sf0aRIaNQMDuSj2RhYRFe3p70hVAnYGp3TX4cnG2yoEALp/LTj/XnZGQ8Xzf6Ja/Q==", | ||||||
|  |           "requires": { | ||||||
|  |             "@opencensus/web-types": "0.0.7", | ||||||
|  |             "@opentelemetry/api": "^0.6.1", | ||||||
|  |             "tslib": "^1.10.0" | ||||||
|  |           }, | ||||||
|           "dependencies": { |           "dependencies": { | ||||||
|             "tslib": { |             "tslib": { | ||||||
|           "version": "2.0.0", |               "version": "1.14.1", | ||||||
|           "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.0.tgz", |               "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", | ||||||
|           "integrity": "sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g==" |               "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" | ||||||
|  |             } | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "@opentelemetry/api": { | ||||||
|  |           "version": "0.6.1", | ||||||
|  |           "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-0.6.1.tgz", | ||||||
|  |           "integrity": "sha512-wpufGZa7tTxw7eAsjXJtiyIQ42IWQdX9iUQp7ACJcKo1hCtuhLU+K2Nv1U6oRwT1oAlZTE6m4CgWKZBhOiau3Q==", | ||||||
|  |           "requires": { | ||||||
|  |             "@opentelemetry/context-base": "^0.6.1" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "tslib": { | ||||||
|  |           "version": "2.0.3", | ||||||
|  |           "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", | ||||||
|  |           "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "@azure/core-http": { |     "@azure/core-http": { | ||||||
|       "version": "1.1.5", |       "version": "1.1.9", | ||||||
|       "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.5.tgz", |       "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.9.tgz", | ||||||
|       "integrity": "sha512-4nrA7SzfPxoyTF7hzmN6Zi2RJf57/ZE5rKTSb2oCOrzxKqTRNZrBm0mCDxTLktxsRN1xbNUTxFy5dm/Irb1RCQ==", |       "integrity": "sha512-wM0HMRNQaE2NtTHb+9FXF7uxUqaAHFTMVu6OzlEll6gUGybcDqM7+9Oklp33BhEfq+ZumpCoqxq3njNbMHuf/w==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "@azure/abort-controller": "^1.0.0", |         "@azure/abort-controller": "^1.0.0", | ||||||
|         "@azure/core-auth": "^1.1.3", |         "@azure/core-auth": "^1.1.3", | ||||||
|         "@azure/core-tracing": "1.0.0-preview.8", |         "@azure/core-tracing": "1.0.0-preview.9", | ||||||
|         "@azure/logger": "^1.0.0", |         "@azure/logger": "^1.0.0", | ||||||
|         "@opentelemetry/api": "^0.6.1", |         "@opentelemetry/api": "^0.10.2", | ||||||
|         "@types/node-fetch": "^2.5.0", |         "@types/node-fetch": "^2.5.0", | ||||||
|         "@types/tunnel": "^0.0.1", |         "@types/tunnel": "^0.0.1", | ||||||
|         "form-data": "^3.0.0", |         "form-data": "^3.0.0", | ||||||
| @ -129,14 +154,14 @@ | |||||||
|           } |           } | ||||||
|         }, |         }, | ||||||
|         "tslib": { |         "tslib": { | ||||||
|           "version": "2.0.0", |           "version": "2.0.3", | ||||||
|           "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.0.tgz", |           "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", | ||||||
|           "integrity": "sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g==" |           "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" | ||||||
|         }, |         }, | ||||||
|         "uuid": { |         "uuid": { | ||||||
|           "version": "8.3.0", |           "version": "8.3.1", | ||||||
|           "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.0.tgz", |           "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.1.tgz", | ||||||
|           "integrity": "sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ==" |           "integrity": "sha512-FOmRr+FmWEIG8uhZv6C2bTgEVXsHk08kE7mPlrBbEe+c3r9pjceVPgupIfNIhc4yx55H69OXANrUaSuu9eInKg==" | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
| @ -152,21 +177,28 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "@azure/core-paging": { |     "@azure/core-paging": { | ||||||
|       "version": "1.1.1", |       "version": "1.1.3", | ||||||
|       "resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.1.tgz", |       "resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.3.tgz", | ||||||
|       "integrity": "sha512-hqEJBEGKan4YdOaL9ZG/GRG6PXaFd/Wb3SSjQW4LWotZzgl6xqG00h6wmkrpd2NNkbBkD1erLHBO3lPHApv+iQ==", |       "integrity": "sha512-his7Ah40ThEYORSpIAwuh6B8wkGwO/zG7gqVtmSE4WAJ46e36zUDXTKReUCLBDc6HmjjApQQxxcRFy5FruG79A==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "@azure/core-asynciterator-polyfill": "^1.0.0" |         "@azure/core-asynciterator-polyfill": "^1.0.0" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "@azure/core-tracing": { |     "@azure/core-tracing": { | ||||||
|       "version": "1.0.0-preview.8", |       "version": "1.0.0-preview.9", | ||||||
|       "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.0.0-preview.8.tgz", |       "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.0.0-preview.9.tgz", | ||||||
|       "integrity": "sha512-ZKUpCd7Dlyfn7bdc+/zC/sf0aRIaNQMDuSj2RhYRFe3p70hVAnYGp3TX4cnG2yoEALp/LTj/XnZGQ8Xzf6Ja/Q==", |       "integrity": "sha512-zczolCLJ5QG42AEPQ+Qg9SRYNUyB+yZ5dzof4YEc+dyWczO9G2sBqbAjLB7IqrsdHN2apkiB2oXeDKCsq48jug==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "@opencensus/web-types": "0.0.7", |         "@opencensus/web-types": "0.0.7", | ||||||
|         "@opentelemetry/api": "^0.6.1", |         "@opentelemetry/api": "^0.10.2", | ||||||
|         "tslib": "^1.10.0" |         "tslib": "^2.0.0" | ||||||
|  |       }, | ||||||
|  |       "dependencies": { | ||||||
|  |         "tslib": { | ||||||
|  |           "version": "2.0.3", | ||||||
|  |           "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", | ||||||
|  |           "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" | ||||||
|  |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "@azure/logger": { |     "@azure/logger": { | ||||||
| @ -178,9 +210,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "@azure/ms-rest-js": { |     "@azure/ms-rest-js": { | ||||||
|       "version": "2.0.8", |       "version": "2.1.0", | ||||||
|       "resolved": "https://registry.npmjs.org/@azure/ms-rest-js/-/ms-rest-js-2.0.8.tgz", |       "resolved": "https://registry.npmjs.org/@azure/ms-rest-js/-/ms-rest-js-2.1.0.tgz", | ||||||
|       "integrity": "sha512-PO4pnYaF66IAB/RWbhrTprGyhOzDzsgcbT7z8k3O38JKlwifbrhW+8M0fzx0ScZnaacP8rZyBazYMUF9P12c0g==", |       "integrity": "sha512-4BXLVImYRt+jcUmEJ5LUWglI8RBNVQndY6IcyvQ4U8O4kIXdmlRz3cJdA/RpXf5rKT38KOoTO2T6Z1f6Z1HDBg==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "@types/node-fetch": "^2.3.7", |         "@types/node-fetch": "^2.3.7", | ||||||
|         "@types/tunnel": "0.0.1", |         "@types/tunnel": "0.0.1", | ||||||
| @ -217,19 +249,26 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "@azure/storage-blob": { |     "@azure/storage-blob": { | ||||||
|       "version": "12.1.2", |       "version": "12.2.1", | ||||||
|       "resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.1.2.tgz", |       "resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.2.1.tgz", | ||||||
|       "integrity": "sha512-PCHgG4r3xLt5FaFj+uiMqrRpuzD3TD17cvxCeA1JKK2bJEf8b07H3QRLQVf0DM1MmvYY8FgQagkWZTp+jr9yew==", |       "integrity": "sha512-erqCSmDL8b/AHZi94nq+nCE+2whQmvBDkAv4N9uic0MRac/gRyZqnsqkfrun/gr2rZo+qVtnMenwkkE3roXn8Q==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "@azure/abort-controller": "^1.0.0", |         "@azure/abort-controller": "^1.0.0", | ||||||
|         "@azure/core-http": "^1.1.1", |         "@azure/core-http": "^1.1.6", | ||||||
|         "@azure/core-lro": "^1.0.2", |         "@azure/core-lro": "^1.0.2", | ||||||
|         "@azure/core-paging": "^1.1.1", |         "@azure/core-paging": "^1.1.1", | ||||||
|         "@azure/core-tracing": "1.0.0-preview.8", |         "@azure/core-tracing": "1.0.0-preview.9", | ||||||
|         "@azure/logger": "^1.0.0", |         "@azure/logger": "^1.0.0", | ||||||
|         "@opentelemetry/api": "^0.6.1", |         "@opentelemetry/api": "^0.10.2", | ||||||
|         "events": "^3.0.0", |         "events": "^3.0.0", | ||||||
|         "tslib": "^1.10.0" |         "tslib": "^2.0.0" | ||||||
|  |       }, | ||||||
|  |       "dependencies": { | ||||||
|  |         "tslib": { | ||||||
|  |           "version": "2.0.3", | ||||||
|  |           "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", | ||||||
|  |           "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" | ||||||
|  |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "@babel/code-frame": { |     "@babel/code-frame": { | ||||||
| @ -680,11 +719,18 @@ | |||||||
|       "integrity": "sha512-xB+w7ZDAu3YBzqH44rCmG9/RlrOmFuDPt/bpf17eJr8eZSrLt7nc7LnWdxM9Mmoj/YKMHpxRg28txu3TcpiL+g==" |       "integrity": "sha512-xB+w7ZDAu3YBzqH44rCmG9/RlrOmFuDPt/bpf17eJr8eZSrLt7nc7LnWdxM9Mmoj/YKMHpxRg28txu3TcpiL+g==" | ||||||
|     }, |     }, | ||||||
|     "@opentelemetry/api": { |     "@opentelemetry/api": { | ||||||
|       "version": "0.6.1", |       "version": "0.10.2", | ||||||
|       "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-0.6.1.tgz", |       "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-0.10.2.tgz", | ||||||
|       "integrity": "sha512-wpufGZa7tTxw7eAsjXJtiyIQ42IWQdX9iUQp7ACJcKo1hCtuhLU+K2Nv1U6oRwT1oAlZTE6m4CgWKZBhOiau3Q==", |       "integrity": "sha512-GtpMGd6vkzDMYcpu2t9LlhEgMy/SzBwRnz48EejlRArYqZzqSzAsKmegUK7zHgl+EOIaK9mKHhnRaQu3qw20cA==", | ||||||
|       "requires": { |       "requires": { | ||||||
|         "@opentelemetry/context-base": "^0.6.1" |         "@opentelemetry/context-base": "^0.10.2" | ||||||
|  |       }, | ||||||
|  |       "dependencies": { | ||||||
|  |         "@opentelemetry/context-base": { | ||||||
|  |           "version": "0.10.2", | ||||||
|  |           "resolved": "https://registry.npmjs.org/@opentelemetry/context-base/-/context-base-0.10.2.tgz", | ||||||
|  |           "integrity": "sha512-hZNKjKOYsckoOEgBziGMnBcX0M7EtstnCmwz5jZUOUYwlZ+/xxX6z3jPu1XVO2Jivk0eLfuP9GP+vFD49CMetw==" | ||||||
|  |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "@opentelemetry/context-base": { |     "@opentelemetry/context-base": { | ||||||
| @ -4078,9 +4124,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node-fetch": { |     "node-fetch": { | ||||||
|       "version": "2.6.0", |       "version": "2.6.1", | ||||||
|       "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", |       "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", | ||||||
|       "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" |       "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" | ||||||
|     }, |     }, | ||||||
|     "node-int64": { |     "node-int64": { | ||||||
|       "version": "0.4.0", |       "version": "0.4.0", | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "cache", |   "name": "cache", | ||||||
|   "version": "2.1.2", |   "version": "2.1.3", | ||||||
|   "private": true, |   "private": true, | ||||||
|   "description": "Cache dependencies and build outputs", |   "description": "Cache dependencies and build outputs", | ||||||
|   "main": "dist/restore/index.js", |   "main": "dist/restore/index.js", | ||||||
| @ -23,10 +23,10 @@ | |||||||
|   "author": "GitHub", |   "author": "GitHub", | ||||||
|   "license": "MIT", |   "license": "MIT", | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@actions/core": "^1.2.0", |     "@actions/cache": "^1.0.4", | ||||||
|  |     "@actions/core": "^1.2.6", | ||||||
|     "@actions/exec": "^1.0.1", |     "@actions/exec": "^1.0.1", | ||||||
|     "@actions/io": "^1.0.1", |     "@actions/io": "^1.0.1" | ||||||
|     "@actions/cache": "^1.0.2" |  | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@types/jest": "^24.0.13", |     "@types/jest": "^24.0.13", | ||||||
|  | |||||||
| @ -60,8 +60,9 @@ export function getInputAsArray( | |||||||
|     return core |     return core | ||||||
|         .getInput(name, options) |         .getInput(name, options) | ||||||
|         .split("\n") |         .split("\n") | ||||||
|         .map(s => s.trim()) |         .map(s => s.replace(/^!\s+/, "!").trim()) | ||||||
|         .filter(x => x !== ""); |         .filter(x => x !== "") | ||||||
|  |         .sort(); | ||||||
| } | } | ||||||
|  |  | ||||||
| export function getInputAsInt( | export function getInputAsInt( | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	