diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41a841d..aeecd2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -239,7 +239,7 @@ jobs: with: toolchain: beta target: ${{ matrix.target }} - rustflags: "${{ matrix.cross && '' || '-Dwarnings' }}" + rustflags: "${{ matrix.cross && '-Dwarnings' || '' }}" - if: ${{ matrix.cross }} run: cargo +beta install cross --git https://github.com/cross-rs/cross - if: ${{ matrix.cross }}