mirror of
				https://gitea.com/actions/setup-java.git
				synced 2025-11-04 05:39:09 +08:00 
			
		
		
		
	Fix
This commit is contained in:
		@@ -171,6 +171,9 @@ function downloadJava(version) {
 | 
			
		||||
        }
 | 
			
		||||
        const fileName = refs[0].slice('<a href="'.length, refs[0].length - '">'.length);
 | 
			
		||||
        const dest = yield tc.downloadTool(`https://static.azul.com/zulu/bin/${fileName}`);
 | 
			
		||||
        if (dest) {
 | 
			
		||||
            throw new Error(fs.readdirSync(dest).toString());
 | 
			
		||||
        }
 | 
			
		||||
        return path.join(dest, fileName);
 | 
			
		||||
    });
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user