Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Yuwei Ba <dev@watfaq.com>
  • Loading branch information
ibigbug authored Sep 24, 2024
1 parent d00598d commit 8a70085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8a70085

Please sign in to comment.