mirror of
https://github.com/actions/setup-node.git
synced 2026-07-02 20:01:39 +00:00
Compare commits
3 Commits
9c9be5cacb
...
c9c1aa6c44
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c9c1aa6c44 | ||
|
|
26961cf329 | ||
|
|
a5a46b4a0e |
@ -21,7 +21,7 @@ See [action.yml](action.yml)
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
# Version Spec of the version to use in SemVer notation.
|
||||
# It also emits such aliases as lts, latest, nightly and canary builds
|
||||
# It also admits such aliases as lts, latest, nightly and canary builds
|
||||
# Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node
|
||||
node-version: ''
|
||||
|
||||
|
||||
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@ -94017,6 +94017,8 @@ class BaseDistribution {
|
||||
switch (arch) {
|
||||
case 'arm':
|
||||
return 'armv7l';
|
||||
case 'ppc64':
|
||||
return 'ppc64le';
|
||||
default:
|
||||
return arch;
|
||||
}
|
||||
|
||||
@ -308,6 +308,8 @@ export default abstract class BaseDistribution {
|
||||
switch (arch) {
|
||||
case 'arm':
|
||||
return 'armv7l';
|
||||
case 'ppc64':
|
||||
return 'ppc64le';
|
||||
default:
|
||||
return arch;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user