Skip to content

Commit

Permalink
ci: fix NAPI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix-ru committed Nov 27, 2023
1 parent 779f6bf commit 987af07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/napi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
target: x86_64-apple-darwin
build: |
yarn build
strip -x *.node
strip -x @fervid/*.node
- host: windows-latest
build: yarn build
target: x86_64-pc-windows-msvc
Expand All @@ -45,7 +45,7 @@ jobs:
build: |-
set -e &&
yarn build --target x86_64-unknown-linux-gnu &&
strip *.node
strip @fervid/*.node
defaults:
run:
working-directory: ${{ env.WORKING_DIR_PATH }}
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
if: ${{ matrix.settings.docker }}
with:
image: ${{ matrix.settings.docker }}
options: '--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ env.WORKING_DIR_PATH }}:/build -w /build'
options: '--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build/crates/fervid_napi'
run: ${{ matrix.settings.build }}
- name: Build
run: ${{ matrix.settings.build }}
Expand Down

0 comments on commit 987af07

Please sign in to comment.