mirror of
				https://github.com/actions/setup-dotnet.git
				synced 2025-10-31 19:33:45 +00:00 
			
		
		
		
	add packageSourceCredentials
This commit is contained in:
		
							parent
							
								
									bdd38d13dc
								
							
						
					
					
						commit
						467621733d
					
				
							
								
								
									
										3
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @ -163,6 +163,9 @@ function writeFeedToFile(feedUrl, existingFileLocation, tempFileLocation) { | ||||
|             ] | ||||
|         }); | ||||
|     }); | ||||
|     xmlSource[1].configuration.push({ | ||||
|         packageSourceCredentials | ||||
|     }); | ||||
|     // If NuGet fixes itself such that on Linux it can look for environment variables in the config file (it doesn't seem to work today),
 | ||||
|     // use this for the value above
 | ||||
|     //           process.platform == 'win32'
 | ||||
|  | ||||
| @ -172,6 +172,10 @@ function writeFeedToFile( | ||||
|     }); | ||||
|   }); | ||||
| 
 | ||||
|   xmlSource[1].configuration.push({ | ||||
|     packageSourceCredentials | ||||
|   }); | ||||
| 
 | ||||
|   // If NuGet fixes itself such that on Linux it can look for environment variables in the config file (it doesn't seem to work today),
 | ||||
|   // use this for the value above
 | ||||
|   //           process.platform == 'win32'
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user