Skip to content

Commit

Permalink
fix dist path
Browse files Browse the repository at this point in the history
  • Loading branch information
arvid220u committed Feb 17, 2024
1 parent a95a148 commit 1d27fc7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,21 @@ jobs:
run: cargo fmt --all --check

- name: Node install
run: npm i
run: pnpm i

- name: Build Mac and Linux
if: matrix.target != 'x86_64-pc-windows-msvc'
run: npm run build -- --zig --target ${{ matrix.target }}
run: pnpm run build -- --zig --target ${{ matrix.target }}

- name: Build Windows
if: matrix.target == 'x86_64-pc-windows-msvc'
run: npm run build -- --target ${{ matrix.target }}
run: pnpm run build -- --target ${{ matrix.target }}

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: OS specific binaries
path: dist
path: tiktoken-node/dist
if-no-files-found: error

publish:
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: OS specific binaries
path: dist/
path: tiktoken-node/dist/

- name: Publish to npm
uses: JS-DevTools/npm-publish@v1
Expand Down

0 comments on commit 1d27fc7

Please sign in to comment.