chore(ci): FIx publish action (#5857)

This commit is contained in:
Donny/강동윤 2022-09-14 19:18:50 +09:00 committed by GitHub
parent e9f4f4eb06
commit c2f25c9998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ jobs:
RUSTFLAGS='-C target-feature=+sse2' cargo build --manifest-path ./bindings/swc_cli/Cargo.toml --release --features plugin &&
rm -rf target/release/.cargo-lock &&
cp bindings/target/release/swc . && chmod +x ./swc &&
RUSTFLAGS='-C target-feature=+sse2 -C target-feature=-crt-static -Z' yarn build &&
RUSTFLAGS='-C target-feature=+sse2 -C target-feature=-crt-static' yarn build &&
llvm-strip -x swc.linux-x64-musl.node
- host: macos-latest
target: aarch64-apple-darwin