mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 07:16:22 +07:00 
			
		
		
		
	Fix using new github-input for tools.ts
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -59,10 +59,10 @@ export async function setEnv(): Promise<void> { | |||||||
|  * Run the script |  * Run the script | ||||||
|  */ |  */ | ||||||
| export async function run(): Promise<void> { | export async function run(): Promise<void> { | ||||||
|  |   await setEnv(); | ||||||
|   const os: string = process.platform; |   const os: string = process.platform; | ||||||
|   const tool = await utils.scriptTool(os); |   const tool = await utils.scriptTool(os); | ||||||
|   const run_path = await getScript(os); |   const run_path = await getScript(os); | ||||||
|   await setEnv(); |  | ||||||
|   await exec(tool + run_path); |   await exec(tool + run_path); | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur