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