mirror of
https://github.com/actions/setup-java
synced 2024-11-10 07:32:40 +00:00
add dist
This commit is contained in:
parent
0685457b96
commit
a3755773a1
1 changed files with 6 additions and 1 deletions
5
dist/setup/index.js
vendored
5
dist/setup/index.js
vendored
|
@ -125230,6 +125230,11 @@ class TemurinDistribution extends base_installer_1.JavaBase {
|
||||||
return 'mac';
|
return 'mac';
|
||||||
case 'win32':
|
case 'win32':
|
||||||
return 'windows';
|
return 'windows';
|
||||||
|
case 'linux':
|
||||||
|
if (fs_1.default.existsSync('/etc/alpine-release')) {
|
||||||
|
return 'alpine-linux';
|
||||||
|
}
|
||||||
|
return 'linux';
|
||||||
default:
|
default:
|
||||||
return process.platform;
|
return process.platform;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue