mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
chore: Fix publish action
This commit is contained in:
parent
4d85006572
commit
83c98507e7
2
.github/workflows/publish-node.yml
vendored
2
.github/workflows/publish-node.yml
vendored
@ -53,7 +53,7 @@ jobs:
|
|||||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
|
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
|
||||||
build: >-
|
build: >-
|
||||||
set -e &&
|
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 &&
|
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 &&
|
cp bindings/target/x86_64-unknown-linux-gnu/release/swc . && chmod +x ./swc &&
|
||||||
yarn build --target x86_64-unknown-linux-gnu &&
|
yarn build --target x86_64-unknown-linux-gnu &&
|
||||||
|
Loading…
Reference in New Issue
Block a user