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:
parent
67fbd726da
commit
12cfe0fd55
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue