From 83c98507e7aa2adf52054466a7b7462b1361de2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Wed, 26 Oct 2022 16:26:06 +0900 Subject: [PATCH] chore: Fix publish action --- .github/workflows/publish-node.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-node.yml b/.github/workflows/publish-node.yml index 252dfc6022d1..3919cd2afe35 100644 --- a/.github/workflows/publish-node.yml +++ b/.github/workflows/publish-node.yml @@ -53,7 +53,7 @@ jobs: docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian build: >- set -e && - RUSTFLAGS='-C target-feature=+sse2' cargo build --manifest-path ./bindings/swc_cli/Cargo.toml --release --features plugin && + unset CC_x86_64_unknown_linux_gnu && unset CC && RUSTFLAGS='-C target-feature=+sse2' cargo build --manifest-path ./bindings/swc_cli/Cargo.toml --release --features plugin && rm -rf bindings/target/target/x86_64-unknown-linux-gnu/release/.cargo-lock && cp bindings/target/x86_64-unknown-linux-gnu/release/swc . && chmod +x ./swc && yarn build --target x86_64-unknown-linux-gnu &&