mirror of
				https://gitea.com/actions/cache.git
				synced 2025-11-04 07:47:08 +00:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			vsvipul/de
			...
			dhadka/bum
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					f8d592f91f | ||
| 
						 | 
					65a44e7aac | ||
| 
						 | 
					7f48f08925 | 
							
								
								
									
										2
									
								
								.licenses/npm/@actions/cache.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								.licenses/npm/@actions/cache.dep.yml
									
									
									
										generated
									
									
									
								
							@@ -1,6 +1,6 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
name: "@actions/cache"
 | 
					name: "@actions/cache"
 | 
				
			||||||
version: 1.0.3
 | 
					version: 1.0.4
 | 
				
			||||||
type: npm
 | 
					type: npm
 | 
				
			||||||
summary: Actions cache lib
 | 
					summary: Actions cache lib
 | 
				
			||||||
homepage: https://github.com/actions/toolkit/tree/main/packages/cache
 | 
					homepage: https://github.com/actions/toolkit/tree/main/packages/cache
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										5
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							@@ -3267,9 +3267,12 @@ function uploadChunk(httpClient, resourceUrl, openStream, start, end) {
 | 
				
			|||||||
            'Content-Type': 'application/octet-stream',
 | 
					            'Content-Type': 'application/octet-stream',
 | 
				
			||||||
            'Content-Range': getContentRange(start, end)
 | 
					            'Content-Range': getContentRange(start, end)
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
        yield requestUtils_1.retryHttpClientResponse(`uploadChunk (start: ${start}, end: ${end})`, () => __awaiter(this, void 0, void 0, function* () {
 | 
					        const uploadChunkResponse = yield requestUtils_1.retryHttpClientResponse(`uploadChunk (start: ${start}, end: ${end})`, () => __awaiter(this, void 0, void 0, function* () {
 | 
				
			||||||
            return httpClient.sendStream('PATCH', resourceUrl, openStream(), additionalHeaders);
 | 
					            return httpClient.sendStream('PATCH', resourceUrl, openStream(), additionalHeaders);
 | 
				
			||||||
        }));
 | 
					        }));
 | 
				
			||||||
 | 
					        if (!requestUtils_1.isSuccessStatusCode(uploadChunkResponse.message.statusCode)) {
 | 
				
			||||||
 | 
					            throw new Error(`Cache service responded with ${uploadChunkResponse.message.statusCode} during upload chunk.`);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
function uploadFile(httpClient, cacheId, archivePath, options) {
 | 
					function uploadFile(httpClient, cacheId, archivePath, options) {
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										5
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							@@ -3267,9 +3267,12 @@ function uploadChunk(httpClient, resourceUrl, openStream, start, end) {
 | 
				
			|||||||
            'Content-Type': 'application/octet-stream',
 | 
					            'Content-Type': 'application/octet-stream',
 | 
				
			||||||
            'Content-Range': getContentRange(start, end)
 | 
					            'Content-Range': getContentRange(start, end)
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
        yield requestUtils_1.retryHttpClientResponse(`uploadChunk (start: ${start}, end: ${end})`, () => __awaiter(this, void 0, void 0, function* () {
 | 
					        const uploadChunkResponse = yield requestUtils_1.retryHttpClientResponse(`uploadChunk (start: ${start}, end: ${end})`, () => __awaiter(this, void 0, void 0, function* () {
 | 
				
			||||||
            return httpClient.sendStream('PATCH', resourceUrl, openStream(), additionalHeaders);
 | 
					            return httpClient.sendStream('PATCH', resourceUrl, openStream(), additionalHeaders);
 | 
				
			||||||
        }));
 | 
					        }));
 | 
				
			||||||
 | 
					        if (!requestUtils_1.isSuccessStatusCode(uploadChunkResponse.message.statusCode)) {
 | 
				
			||||||
 | 
					            throw new Error(`Cache service responded with ${uploadChunkResponse.message.statusCode} during upload chunk.`);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
function uploadFile(httpClient, cacheId, archivePath, options) {
 | 
					function uploadFile(httpClient, cacheId, archivePath, options) {
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										8
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@@ -5,11 +5,11 @@
 | 
				
			|||||||
  "requires": true,
 | 
					  "requires": true,
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
    "@actions/cache": {
 | 
					    "@actions/cache": {
 | 
				
			||||||
      "version": "1.0.3",
 | 
					      "version": "1.0.4",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-1.0.3.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-1.0.4.tgz",
 | 
				
			||||||
      "integrity": "sha512-2DcdMrqbfj5LcsEYIh6ACgjb0bNMeMPP7y1a+bf/Sk0MFfkkrYRNFihkXRV6v0TNkNo0b5X38xmUguRZ5ZPLbw==",
 | 
					      "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.9",
 | 
					        "@actions/http-client": "^1.0.9",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -23,7 +23,7 @@
 | 
				
			|||||||
  "author": "GitHub",
 | 
					  "author": "GitHub",
 | 
				
			||||||
  "license": "MIT",
 | 
					  "license": "MIT",
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
    "@actions/cache": "^1.0.3",
 | 
					    "@actions/cache": "^1.0.4",
 | 
				
			||||||
    "@actions/core": "^1.2.6",
 | 
					    "@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"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user