Skip to content

Instantly share code, notes, and snippets.

@jsugarman
Created May 23, 2022 16:55
Show Gist options
  • Save jsugarman/04e94cf4a0714bcf1d05a4feeab73baf to your computer and use it in GitHub Desktop.
Save jsugarman/04e94cf4a0714bcf1d05a4feeab73baf to your computer and use it in GitHub Desktop.
Debug github action

Debug github actions

see debugging with tmate

TLDR;

Add this after github action step you want to interactively debug

- uses: actions/checkout@v3
- name: Setup tmate session
  if: ${{ failure() }}
  uses: mxschmitt/action-tmate@v3
  timeout-minutes: 15
  with:
    limit-access-to-actor: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment