mirror of
https://github.com/actions/setup-node
synced 2025-04-09 18:35:51 +00:00
Do not include example for node-arch, as it is considered advanced use
This commit is contained in:
parent
c08e62dd1d
commit
b3dbe28e9a
1 changed files with 1 additions and 11 deletions
12
README.md
12
README.md
|
@ -100,18 +100,8 @@ steps:
|
|||
- run: npm rebuild && npm run prepare --if-present
|
||||
```
|
||||
|
||||
Specifying a different architecture than the system architecture:
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '10.x'
|
||||
node-arch: 'x86'
|
||||
- run: npm install
|
||||
- run: npm test
|
||||
```
|
||||
|
||||
Additionally, the architecture can be selected using `node-arch`. Values are `x86`, `x64`, `arm64`, `armv6l`, `armv7l, `ppc64le`, `s390x`. **Not all architectures are available on all platforms.**
|
||||
|
||||
# License
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue