mirror of
				https://github.com/actions/setup-go.git
				synced 2025-11-04 01:06:24 +00:00 
			
		
		
		
	Update dist
This commit is contained in:
		
							
								
								
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@@ -2127,12 +2127,12 @@ function addBinToPath() {
 | 
				
			|||||||
            if (!fs_1.default.existsSync(gp)) {
 | 
					            if (!fs_1.default.existsSync(gp)) {
 | 
				
			||||||
                // some of the hosted images have go install but not profile dir
 | 
					                // some of the hosted images have go install but not profile dir
 | 
				
			||||||
                core.debug(`creating ${gp}`);
 | 
					                core.debug(`creating ${gp}`);
 | 
				
			||||||
                io.mkdirP(gp);
 | 
					                yield io.mkdirP(gp);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            let bp = path_1.default.join(gp, 'bin');
 | 
					            let bp = path_1.default.join(gp, 'bin');
 | 
				
			||||||
            if (!fs_1.default.existsSync(bp)) {
 | 
					            if (!fs_1.default.existsSync(bp)) {
 | 
				
			||||||
                core.debug(`creating ${bp}`);
 | 
					                core.debug(`creating ${bp}`);
 | 
				
			||||||
                io.mkdirP(bp);
 | 
					                yield io.mkdirP(bp);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            core.addPath(bp);
 | 
					            core.addPath(bp);
 | 
				
			||||||
            added = true;
 | 
					            added = true;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user