chore(ci): Use --cargo-flags in correct place

This commit is contained in:
Donny 2022-01-05 15:16:05 +09:00
parent a20f5d9a7c
commit ef4ea2fc7b

View File

@ -129,9 +129,9 @@ jobs:
- host: windows-latest - host: windows-latest
target: aarch64-pc-windows-msvc target: aarch64-pc-windows-msvc
build: | build: |
cargo build -p swc_cli --release --target aarch64-pc-windows-msvc --cargo-flags='--no-default-features --features swc_v1' cargo build -p swc_cli --release --target aarch64-pc-windows-msvc
cp target/aarch64-pc-windows-msvc/release/swc.exe . cp target/aarch64-pc-windows-msvc/release/swc.exe .
yarn build --target aarch64-pc-windows-msvc yarn build --target aarch64-pc-windows-msvc --cargo-flags='--no-default-features --features swc_v1'
name: stable - ${{ matrix.settings.target }} - node@14 name: stable - ${{ matrix.settings.target }} - node@14
runs-on: ${{ matrix.settings.host }} runs-on: ${{ matrix.settings.host }}
steps: steps: