mirror of
				https://github.com/actions/setup-dotnet.git
				synced 2025-10-31 23:43:44 +00:00 
			
		
		
		
	Update build
This commit is contained in:
		
							parent
							
								
									80a318b8b8
								
							
						
					
					
						commit
						2785e21d5e
					
				
							
								
								
									
										14
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @ -432,7 +432,7 @@ DotnetInstallDir.default = { | ||||
| }; | ||||
| DotnetInstallDir.path = process.env['DOTNET_INSTALL_DIR'] | ||||
|     ? DotnetInstallDir.convertInstallPathToAbsolute(process.env['DOTNET_INSTALL_DIR']) | ||||
|     : DotnetInstallDir.default[(0, utils_1.getPlatform)()]; | ||||
|     : DotnetInstallDir.default[utils_1.PLATFORM]; | ||||
| class DotnetCoreInstaller { | ||||
|     constructor(version, quality) { | ||||
|         this.version = version; | ||||
| @ -633,17 +633,15 @@ run(); | ||||
| "use strict"; | ||||
| 
 | ||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | ||||
| exports.getPlatform = exports.IS_LINUX = exports.IS_WINDOWS = void 0; | ||||
| exports.PLATFORM = exports.IS_WINDOWS = void 0; | ||||
| exports.IS_WINDOWS = process.platform === 'win32'; | ||||
| exports.IS_LINUX = process.platform === 'linux'; | ||||
| const getPlatform = () => { | ||||
|     if (exports.IS_WINDOWS) | ||||
| exports.PLATFORM = (() => { | ||||
|     if (process.platform === 'win32') | ||||
|         return 'windows'; | ||||
|     if (exports.IS_LINUX) | ||||
|     if (process.platform === 'linux') | ||||
|         return 'linux'; | ||||
|     return 'mac'; | ||||
| }; | ||||
| exports.getPlatform = getPlatform; | ||||
| })(); | ||||
| 
 | ||||
| 
 | ||||
| /***/ }), | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user