From 8a700852ea2642bb39cf6d282ad3f66b59446722 Mon Sep 17 00:00:00 2001 From: Yuwei Ba Date: Tue, 24 Sep 2024 22:22:22 +0800 Subject: [PATCH] Update ci.yml Signed-off-by: Yuwei Ba --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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