Skip to content

Commit

Permalink
Fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
karaggeorge committed Nov 16, 2024
1 parent 125c0a8 commit bd2c74b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Build

on:
push:
pull_request:

jobs:
build-arm:
Expand All @@ -14,7 +13,7 @@ jobs:
with:
node-version: '18'
- name: Install dependencies
run: npm ci
run: npm install
- name: Build arm artifact
run: npm run build:module:arm
- name: Upload arm artifact
Expand All @@ -32,7 +31,7 @@ jobs:
with:
node-version: '18'
- name: Install dependencies
run: npm ci
run: npm install
- name: Build x86 artifact
run: npm run build:module:x86
- name: Upload arm artifact
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"scripts": {
"test": "xo && ava && tsd",
"build": "npm run build:cli && npm run build:module",
"build": "npm run build:cli",
"build:cli": "npm run build:cli:build && npm run build:cli:move",
"build:cli:build": "swift build --configuration=release --product aperture --arch arm64 --arch x86_64",
"build:cli:move": "mv .build/apple/Products/Release/aperture .",
Expand Down

0 comments on commit bd2c74b

Please sign in to comment.