mirror of
https://github.com/actions/setup-node.git
synced 2024-11-10 04:18:24 +08:00
adding support for linux ppc64le
This commit is contained in:
parent
d86ebcd40b
commit
a5a46b4a0e
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -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
Block a user