Fix cache: false, closes #55
				
					
				
			This commit is contained in:
		
							parent
							
								
									14a1906c0d
								
							
						
					
					
						commit
						eb533fc3df
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										2
									
								
								dist/index.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
										
									
									
										vendored
									
									
								
							|  | @ -64037,7 +64037,7 @@ async function main() { | |||
|     actions.setFailed('`with.cache` must be "true" or "false"'); | ||||
|     return; | ||||
|   } | ||||
|   const zigPath = await downloadZig(os.platform(), version3, Boolean(useCache)); | ||||
|   const zigPath = await downloadZig(os.platform(), version3, useCache === "true"); | ||||
|   actions.addPath(zigPath); | ||||
|   actions.info(`zig installed at ${zigPath}`); | ||||
| } | ||||
|  |  | |||
							
								
								
									
										2
									
								
								index.js
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								index.js
									
										
									
									
									
								
							|  | @ -67,7 +67,7 @@ async function main () { | |||
|     return | ||||
|   } | ||||
| 
 | ||||
|   const zigPath = await downloadZig(os.platform(), version, Boolean(useCache)) | ||||
|   const zigPath = await downloadZig(os.platform(), version, useCache === 'true') | ||||
| 
 | ||||
|   // Add the `zig` binary to the $PATH
 | ||||
|   actions.addPath(zigPath) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue