From 1d27fc7112b699226e7688c75dd40c4a5e739e85 Mon Sep 17 00:00:00 2001 From: Arvid Lunnemark Date: Sat, 17 Feb 2024 14:09:06 -0800 Subject: [PATCH] fix dist path --- .github/workflows/publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ee0d6d2..31b465c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: @@ -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