mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 19:38:22 +08:00 
			
		
		
		
	feat: add arch to tc.find
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
This commit is contained in:
		@@ -52,7 +52,7 @@ export async function getNode(
 | 
			
		||||
 | 
			
		||||
  // check cache
 | 
			
		||||
  let toolPath: string;
 | 
			
		||||
  toolPath = tc.find('node', versionSpec);
 | 
			
		||||
  toolPath = tc.find('node', versionSpec, osArch);
 | 
			
		||||
 | 
			
		||||
  // If not found in cache, download
 | 
			
		||||
  if (toolPath) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user