mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 01:23:34 +00:00 
			
		
		
		
	Log versions
This commit is contained in:
		
							parent
							
								
									2ebb54b081
								
							
						
					
					
						commit
						d5ec80f88a
					
				
							
								
								
									
										1
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							@ -71901,6 +71901,7 @@ function printEnvDetailsAndSetOutput() {
 | 
			
		||||
        const promises = ['node', 'npm', 'yarn'].map((tool) => __awaiter(this, void 0, void 0, function* () {
 | 
			
		||||
            const output = yield getToolVersion(tool, ['--version']);
 | 
			
		||||
            core.setOutput(`${tool}-version`, output);
 | 
			
		||||
            core.info(`${tool} version is ${output}`);
 | 
			
		||||
        }));
 | 
			
		||||
        yield Promise.all(promises);
 | 
			
		||||
        core.endGroup();
 | 
			
		||||
 | 
			
		||||
@ -106,6 +106,7 @@ export async function printEnvDetailsAndSetOutput() {
 | 
			
		||||
    const output = await getToolVersion(tool, ['--version']);
 | 
			
		||||
 | 
			
		||||
    core.setOutput(`${tool}-version`, output);
 | 
			
		||||
    core.info(`${tool} version is ${output}`);
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  await Promise.all(promises);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user