Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
fix publish ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ellyofreitas committed Sep 21, 2023
1 parent d8cc071 commit 21ae8a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ jobs:
- name: Prebuild Unix
if: matrix.os != 'windows'
run: |
npm --no-git-tag-version version $TAG
npm run apply-patches
npm run prebuild -- --strip -t 18.0.0 --arch ia32
npm run prebuild -- --strip -t 18.0.0 --arch x64
gh release upload ${{ github.event.release.tag_name }} prebuilds/**/*.tar.gz
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ github.event.release.tag_name }}

- name: Prebuild Windows
if: matrix.os == 'windows'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"module_name": "node_printer",
"module_path": "./lib/",
"host": "https://github.com/casamagalhaes/node-printer/releases/download/",
"remote_path": "v{version}"
"remote_path": "{version}"
},
"licenses": [
{
Expand Down

0 comments on commit 21ae8a3

Please sign in to comment.