You've already forked setup-dotnet
							
							
				mirror of
				https://github.com/actions/setup-dotnet.git
				synced 2025-11-04 17:06:35 +07:00 
			
		
		
		
	Remove warning on master branch
This commit is contained in:
		@ -26,7 +26,6 @@ function run() {
 | 
			
		||||
            // Version is optional.  If supplied, install / use from the tool cache
 | 
			
		||||
            // If not supplied then task is still used to setup proxy, auth, etc...
 | 
			
		||||
            //
 | 
			
		||||
            console.log(`::warning::Use the v1 tag to get the last version, master may contain breaking changes and will not contain any required packages in the future. i.e. actions/setup-dotnet@v1`);
 | 
			
		||||
            let version = core.getInput('version');
 | 
			
		||||
            if (!version) {
 | 
			
		||||
                version = core.getInput('dotnet-version');
 | 
			
		||||
 | 
			
		||||
@ -9,9 +9,6 @@ async function run() {
 | 
			
		||||
    // Version is optional.  If supplied, install / use from the tool cache
 | 
			
		||||
    // If not supplied then task is still used to setup proxy, auth, etc...
 | 
			
		||||
    //
 | 
			
		||||
    console.log(
 | 
			
		||||
      `::warning::Use the v1 tag to get the last version, master may contain breaking changes and will not contain any required packages in the future. i.e. actions/setup-dotnet@v1`
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
    let version = core.getInput('version');
 | 
			
		||||
    if (!version) {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user