mirror of
				https://github.com/chickensoft-games/setup-godot.git
				synced 2025-10-31 19:23:57 +00:00 
			
		
		
		
	Update main.ts
if you run that script using a windows runner in github workflows, then it cannot create symlinks because in windows you need admin rights to do so. github does not provide the runner with such permisions. therefore the symlink simply does not work. It should- however - work when you directly set the environment variable to the path of th executable. I hope I did not miss, why those symlinks were set in the first place and that they are not needed somewhere else?
This commit is contained in:
		
							parent
							
								
									1af6893043
								
							
						
					
					
						commit
						d27136271b
					
				| @ -263,10 +263,10 @@ async function run(platform: Platform): Promise<void> { | ||||
| 
 | ||||
|     // Add environment variables
 | ||||
|     core.startGroup(`🔧 Adding environment variables...`) | ||||
|     core.exportVariable('GODOT', godotAlias) | ||||
|     core.info(`  GODOT=${godotAlias}`) | ||||
|     core.exportVariable('GODOT4', godotAlias) | ||||
|     core.info(`  GODOT4=${godotAlias}`) | ||||
|     core.exportVariable('GODOT', godotExecutable) | ||||
|     core.info(`  GODOT=${godotExecutable}`) | ||||
|     core.exportVariable('GODOT4', godotExecutable) | ||||
|     core.info(`  GODOT4=${godotExecutable}`) | ||||
|     core.info(`✅ Environment variables added`) | ||||
|     core.endGroup() | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user