We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67fbd72 commit fd73858Copy full SHA for fd73858
src/distributions/temurin/installer.ts
@@ -170,11 +170,16 @@ export class TemurinDistribution extends JavaBase {
170
// Adoptium has own platform names so need to map them
171
switch (process.platform) {
172
case 'darwin':
173
- return 'mac';
+ return 'mac';
174
case 'win32':
175
- return 'windows';
+ return 'windows';
176
+ case 'linux':
177
+ if (fs.existsSync('/etc/alpine-release')) {
178
+ return 'alpine-linux';
179
+ }
180
+ return 'linux';
181
default:
- return process.platform;
182
+ return process.platform;
183
}
184
185
0 commit comments