diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 53a08678cf..997887a196 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -317,7 +317,7 @@ jobs: continue-on-error: true - name: Setup tmate session - if: runner.os == 'macOS' + if: ${{ failure() }} uses: mxschmitt/action-tmate@v3 - name: Upload