Skip to content

Commit 55dbfaf

Browse files
committed
fix: github actions release pipeline for binary releases
1 parent 95bbd29 commit 55dbfaf

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
jobs:
1212
release:
1313
runs-on: ubuntu-latest
14-
timeout-minutes: 20
14+
timeout-minutes: 15
1515

1616
steps:
1717
- name: Checkout
@@ -29,11 +29,15 @@ jobs:
2929
- name: Build JS
3030
run: npm run build
3131

32-
- name: Package binary (nexe)
32+
- name: Package binary (pkg)
3333
run: |
34-
npx nexe@latest dist/index.js -t linux-x64-20.18.1 -o dist/omniboard-linux-x64
34+
npx --yes @yao-pkg/pkg@latest \
35+
-t node20-linux-x64 \
36+
--output dist/omniboard-linux-x64 \
37+
dist/index.js
38+
3539
cd dist
36-
tar cvzf omniboard-linux-x64.tar.gz omniboard-linux-x64
40+
tar -cvzf omniboard-linux-x64.tar.gz omniboard-linux-x64
3741
3842
- name: Prepare changelog
3943
run: npx ts-node ./tooling/release-changelog-extractor.ts

0 commit comments

Comments
 (0)