Skip to content

Commit 4e77ae0

Browse files
committed
fix(CI): parse target from CI
1 parent 7216c66 commit 4e77ae0

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ jobs:
4444

4545
- run: npm run build
4646

47-
- run: npm run pkg:server
47+
- run: npx pkg . --targets ${{ matrix.target }}
48+
working-directory: ./implementations/js/server
4849

4950
# macOS ad-hoc signing
5051
- name: Codesign macOS binary

implementations/js/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"dev": "tsx watch ./src/main.js",
4141
"start": "node ./dist/main.cjs",
4242
"build": "node ./src/scripts/build.js",
43-
"pkg": "npx pkg . --targets $PKG_TARGET"
43+
"pkg": "npx pkg ."
4444
},
4545
"author": "Timé Kadel",
4646
"license": "GPL-3.0-only",

0 commit comments

Comments
 (0)