Skip to content

Commit

Permalink
change tmate
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisThielemans committed Dec 11, 2024
1 parent 7196b92 commit b87022d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,13 @@ jobs:
;;
esac
# Enable tmate debugging of manually-triggered workflows if the input option was provided
- name: Setup tmate session if triggered
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 15
#if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled == 'true' }}

- name: build
shell: bash
env:
Expand All @@ -339,12 +346,6 @@ 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:
Expand Down

0 comments on commit b87022d

Please sign in to comment.