👷 Update CI debug mode with Tmate (#629)

This commit is contained in:
Sebastián Ramírez
2023-07-31 21:48:21 +02:00
committed by GitHub
parent aaa54492c1
commit e246ae8864
3 changed files with 8 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ on:
debug_enabled:
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
default: 'false'
jobs:
test:
@@ -36,7 +36,7 @@ jobs:
# Allow debugging with tmate
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
with:
limit-access-to-actor: true
- uses: actions/cache@v3