1
0
Fork 0
mirror of https://github.com/actions/setup-java synced 2024-11-09 23:22:40 +00:00

temurin: add support for Alpine Linux

This commit is contained in:
George Adams 2024-08-16 10:16:19 +01:00
parent 67fbd726da
commit 12cfe0fd55
No known key found for this signature in database
GPG key ID: 7B8D7E4421A0916D

View file

@ -173,6 +173,11 @@ export class TemurinDistribution extends JavaBase {
return 'mac';
case 'win32':
return 'windows';
case 'linux':
if (fs.existsSync('/etc/alpine-release')) {
return 'alpine-linux';
}
return 'linux';
default:
return process.platform;
}