diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 8c3944f811..b7a64ab34a 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -330,6 +330,12 @@ jobs: source ${GITHUB_WORKSPACE}/my-env/bin/activate cmake --build . -j 2 --config ${BUILD_TYPE}} --target install + # Enable tmate debugging of manually-triggered workflows if the input option was provided + - name: Setup tmate session if triggered + uses: mxschmitt/action-tmate@v3 + timeout-minutes: 15 + if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled == 'true' }} + - name: ctest shell: bash env: @@ -388,12 +394,6 @@ jobs: ${{ github.workspace }}/recon_test_pack/**/my_*s retention-days: 7 - # Enable tmate debugging of manually-triggered workflows if the input option was provided - - name: Setup tmate session if triggered - uses: mxschmitt/action-tmate@v3 - timeout-minutes: 15 - if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled == 'true' }} - - name: examples shell: bash run: |