From 349ee6e9f24c6d160d23a75ee7267354ef8a361c Mon Sep 17 00:00:00 2001 From: David Meybohm Date: Sun, 29 Oct 2023 13:51:04 -0400 Subject: [PATCH] Conditionalize conan step for windows --- .github/workflows/cmake.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index a365cf2be..ac999abc3 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -63,8 +63,8 @@ jobs: run: conan profile new default --detect - name: Update profile - if: ${{ matrix.os }} = "ubuntu-latest" - run: conan profile update settings.compiler.libcxx=libstdc++11 default + shell: bash + run: [ "${{ matrix.os }}" = "ubuntu-latest" ] && conan profile update settings.compiler.libcxx=libstdc++11 default - name: Install dependencies run: conan install . -pr:b=default -s build_type=${{ matrix.build_type }} --install-folder=${{github.workspace}}/build