mirror of https://github.com/actions/setup-node
adding support for linux ppc64le
This commit is contained in:
parent
d86ebcd40b
commit
a5a46b4a0e
|
@ -93251,6 +93251,8 @@ class BaseDistribution {
|
||||||
switch (arch) {
|
switch (arch) {
|
||||||
case 'arm':
|
case 'arm':
|
||||||
return 'armv7l';
|
return 'armv7l';
|
||||||
|
case 'ppc64':
|
||||||
|
return 'ppc64le';
|
||||||
default:
|
default:
|
||||||
return arch;
|
return arch;
|
||||||
}
|
}
|
||||||
|
|
|
@ -288,6 +288,8 @@ export default abstract class BaseDistribution {
|
||||||
switch (arch) {
|
switch (arch) {
|
||||||
case 'arm':
|
case 'arm':
|
||||||
return 'armv7l';
|
return 'armv7l';
|
||||||
|
case 'ppc64':
|
||||||
|
return 'ppc64le';
|
||||||
default:
|
default:
|
||||||
return arch;
|
return arch;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue