From 387d8213010b9c397a751eb7689c3dce04bb59fb Mon Sep 17 00:00:00 2001 From: Camden Narzt Date: Mon, 19 Aug 2024 10:32:36 -0600 Subject: [PATCH] fix bad syntax --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a906b2417e..8f6ec184f0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,9 +30,9 @@ jobs: - uses: actions/checkout@v4 - run: sh './dev/ci/setup-host cxx' - run: sh './dev/ci/run-tests-with-docker cxx' - if: linux + if: matrix.os == 'ubuntu-latest' - run: sh './dev/ci/run-tests-natively cxx' - if: macos + if: matrix.os == 'macos-latest' - uses: actions/upload-artifact@v4 with: name: ${{ matrix.os }}-${{ matrix.user.name }} @@ -94,9 +94,9 @@ jobs: - uses: actions/checkout@v4 - run: sh './dev/ci/setup-host ${{matrix.lang.name}}' - run: sh './dev/ci/run-tests-with-docker ${{matrix.lang.name}}' - if: linux + if: matrix.os == 'ubuntu-latest' - run: sh './dev/ci/run-tests-natively ${{matrix.lang.name}}' - if: macos + if: matrix.os == 'macos-latest' - uses: actions/upload-artifact@v4 with: name: ${{ matrix.os }}