You've already forked setup-node
							
							
				mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 16:56:38 +07:00 
			
		
		
		
	Update message to use waning instead of info
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							@ -72843,7 +72843,7 @@ class OfficialBuilds extends base_distribution_1.default {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
            catch (error) {
 | 
					            catch (error) {
 | 
				
			||||||
                if (error instanceof tc.HTTPError && error.httpStatusCode === 404) {
 | 
					                if (error instanceof tc.HTTPError && error.httpStatusCode === 404) {
 | 
				
			||||||
                    core.info(`Node version ${this.nodeInfo.versionSpec} for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} was found but failed to download. ` +
 | 
					                    core.warning(`Node version ${this.nodeInfo.versionSpec} for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} was found but failed to download. ` +
 | 
				
			||||||
                        'This usually happens when downloadable binaries are not fully updated at https://nodejs.org/. ' +
 | 
					                        'This usually happens when downloadable binaries are not fully updated at https://nodejs.org/. ' +
 | 
				
			||||||
                        'To resolve this issue you may either fall back to the older version or try again later.');
 | 
					                        'To resolve this issue you may either fall back to the older version or try again later.');
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
				
			|||||||
@ -148,7 +148,7 @@ export default class OfficialBuilds extends BaseDistribution {
 | 
				
			|||||||
      return toolPath;
 | 
					      return toolPath;
 | 
				
			||||||
    } catch (error) {
 | 
					    } catch (error) {
 | 
				
			||||||
      if (error instanceof tc.HTTPError && error.httpStatusCode === 404) {
 | 
					      if (error instanceof tc.HTTPError && error.httpStatusCode === 404) {
 | 
				
			||||||
        core.info(
 | 
					        core.warning(
 | 
				
			||||||
          `Node version ${this.nodeInfo.versionSpec} for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} was found but failed to download. ` +
 | 
					          `Node version ${this.nodeInfo.versionSpec} for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} was found but failed to download. ` +
 | 
				
			||||||
            'This usually happens when downloadable binaries are not fully updated at https://nodejs.org/. ' +
 | 
					            'This usually happens when downloadable binaries are not fully updated at https://nodejs.org/. ' +
 | 
				
			||||||
            'To resolve this issue you may either fall back to the older version or try again later.'
 | 
					            'To resolve this issue you may either fall back to the older version or try again later.'
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user