Skip to content

Commit d0d54ce

Browse files
committed
Action debugging
1 parent b52e940 commit d0d54ce

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/documentation.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ jobs:
6666
- uses: arduino/setup-task@v2
6767
with:
6868
repo-token: ${{ secrets.GITHUB_TOKEN }}
69+
70+
# https://github.com/mxschmitt/action-tmate?tab=readme-ov-file#manually-triggered-debug
71+
# Enable tmate debugging if debug logging is enabled (cf.
72+
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#runner-context)
73+
- name: Setup tmate session
74+
uses: mxschmitt/action-tmate@v3
75+
if: 1 == runner.debug
76+
6977
- run: |
7078
task github-actions:link --yes
7179
# Check that files have not changed.

0 commit comments

Comments
 (0)