Skip to content

Commit a877f4a

Browse files
authored
Merge pull request #12 from layer5io/leecalcote/multi-arch
arm64
2 parents 45a115c + d424fec commit a877f4a

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- 'master'
6+
tags:
7+
- 'v*'
8+
9+
jobs:
10+
build:
11+
name: Build
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
- name: Setup Node.js
17+
uses: actions/[email protected]
18+
with:
19+
node-version: 12.9.1
20+
cache: 'npm'
21+
- name: Setup dependencies
22+
run: |
23+
npm ci
24+
npm i -g nexe
25+
- name: Build artifacts
26+
run: make
27+

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ alpine: alpine-arm
2020
# ARM SUPPORT
2121
#
2222
darwin-arm:
23-
nexe index.js -t darwin-arm64 --build -o kubeopenapi-jsonschema-darwin -r "./node_modules/**/*"
23+
nexe index.js -t arm64 --build -o kubeopenapi-jsonschema-darwin -r "./node_modules/**/*"
2424

2525
linux-arm:
2626
nexe index.js -t arm64 --build -o kubeopenapi-jsonschema -r "./node_modules/**/*"

0 commit comments

Comments
 (0)