diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e32cdac9..956585a2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -236,7 +236,7 @@ jobs: - name: Cargo test (on linux and windows with docker) uses: clechasseur/rs-cargo@v2 - if: ${{ !matrix.os.contains('macos') && matrix.target != 'aarch64-pc-windows-msvc' }} + if: ${{ !contains(matrix.os, 'macos') && matrix.target != 'aarch64-pc-windows-msvc' }} with: use-cross: ${{ matrix.cross }} command: test @@ -248,7 +248,7 @@ jobs: - name: Cargo test (on macos without docker) uses: clechasseur/rs-cargo@v2 - if: ${{ matrix.os.contains('macos') }} + if: ${{ contains(matrix.os, 'macos') }} with: use-cross: ${{ matrix.cross }} command: test