mirror of
				https://git.mirrors.martin98.com/https://github.com/actions/upload-artifact
				synced 2025-10-31 08:51:09 +08:00 
			
		
		
		
	consume latest @actions/artifact from toolkit
This commit is contained in:
		
							parent
							
								
									59ef34ab24
								
							
						
					
					
						commit
						fa39c94ed2
					
				
							
								
								
									
										6
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @ -5032,8 +5032,8 @@ class ArtifactHttpClient { | ||||
|     // JSON generated client.
 | ||||
|     request(service, method, contentType, data) { | ||||
|         return __awaiter(this, void 0, void 0, function* () { | ||||
|             const url = `${this.baseUrl}/twirp/${service}/${method}`; | ||||
|             (0, core_1.debug)(`Requesting ${url}`); | ||||
|             const url = new URL(`/twirp/${service}/${method}`, this.baseUrl).href; | ||||
|             (0, core_1.debug)(`Requesting: ${url}`); | ||||
|             const headers = { | ||||
|                 'Content-Type': contentType | ||||
|             }; | ||||
| @ -5155,7 +5155,7 @@ function getResultsServiceUrl() { | ||||
|     if (!resultsUrl) { | ||||
|         throw new Error('Unable to get the ACTIONS_RESULTS_URL env variable'); | ||||
|     } | ||||
|     return resultsUrl; | ||||
|     return new URL(resultsUrl).origin; | ||||
| } | ||||
| exports.getResultsServiceUrl = getResultsServiceUrl; | ||||
| function isGhes() { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Rob Herley
						Rob Herley