mirror of
				https://github.com/actions/setup-dotnet.git
				synced 2025-11-04 03:33:45 +00:00 
			
		
		
		
	Test input
This commit is contained in:
		
							parent
							
								
									5306333434
								
							
						
					
					
						commit
						1dca326e13
					
				
							
								
								
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@ -7824,6 +7824,7 @@ function run() {
 | 
				
			|||||||
            // Proxy, auth, (etc) are still set up, even if no version is identified
 | 
					            // Proxy, auth, (etc) are still set up, even if no version is identified
 | 
				
			||||||
            //
 | 
					            //
 | 
				
			||||||
            let version = core.getInput('dotnet-version');
 | 
					            let version = core.getInput('dotnet-version');
 | 
				
			||||||
 | 
					            console.log("VERSION: ", version);
 | 
				
			||||||
            if (!version) {
 | 
					            if (!version) {
 | 
				
			||||||
                // Try to fall back to global.json
 | 
					                // Try to fall back to global.json
 | 
				
			||||||
                core.debug('No version found, trying to find version from global.json');
 | 
					                core.debug('No version found, trying to find version from global.json');
 | 
				
			||||||
 | 
				
			|||||||
@ -14,6 +14,7 @@ export async function run() {
 | 
				
			|||||||
    // Proxy, auth, (etc) are still set up, even if no version is identified
 | 
					    // Proxy, auth, (etc) are still set up, even if no version is identified
 | 
				
			||||||
    //
 | 
					    //
 | 
				
			||||||
    let version = core.getInput('dotnet-version');
 | 
					    let version = core.getInput('dotnet-version');
 | 
				
			||||||
 | 
					    console.log("VERSION: ", version);
 | 
				
			||||||
    if (!version) {
 | 
					    if (!version) {
 | 
				
			||||||
      // Try to fall back to global.json
 | 
					      // Try to fall back to global.json
 | 
				
			||||||
      core.debug('No version found, trying to find version from global.json');
 | 
					      core.debug('No version found, trying to find version from global.json');
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user