Skip to content

Commit

Permalink
whoops settings not host
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasLYang committed Feb 3, 2025
1 parent 5b86420 commit 0e05b13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/turborepo-library-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
# For x86_64-unknown-linux-gnu and aarch64-unknown-linux-gnu, we need to cross-compile with zig
# Fortunately, napi comes with a `--zig` flag
- name: Build native library (cross-compile with zig)
if: ${{ matrix.host.target == 'x86_64-unknown-linux-gnu' || matrix.host.target == 'aarch64-unknown-linux-gnu' }}
if: ${{ matrix.settings.target == 'x86_64-unknown-linux-gnu' || matrix.settings.target == 'aarch64-unknown-linux-gnu' }}
# For some reason PATH modifications from Setup toolchain aren't populated
# when using the nodejs-rust alpine container.
run: |
Expand All @@ -129,7 +129,7 @@ jobs:
${{ matrix.settings.rust_env }} pnpm build:release --target=${{ matrix.settings.target }} --zig
- name: Build native library
if: ${{ matrix.host.target != 'x86_64-unknown-linux-gnu' && matrix.host.target != 'aarch64-unknown-linux-gnu' }}
if: ${{ matrix.settings.target != 'x86_64-unknown-linux-gnu' && matrix.settings.target != 'aarch64-unknown-linux-gnu' }}
# For some reason PATH modifications from Setup toolchain aren't populated
# when using the nodejs-rust alpine container.
run: |
Expand Down

0 comments on commit 0e05b13

Please sign in to comment.