Skip to content

Commit

Permalink
github: fix timeout-minites handling of tmate steps
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Nov 26, 2024
1 parent f8aa537 commit 8740d90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ jobs:
- name: Tmate debugging session (self-hosted)
if: ${{ failure() && inputs.tmate-debug && inputs.self-hosted-runner }}
uses: canonical/action-tmate@main
timeout-minutes: ${{ inputs.tmate-timeout }}
timeout-minutes: ${{ fromJSON(inputs.tmate-timeout) }}
- name: Tmate debugging session (gh-hosted)
if: ${{ failure() && inputs.tmate-debug && !inputs.self-hosted-runner }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: ${{ inputs.tmate-timeout }}
timeout-minutes: ${{ fromJSON(inputs.tmate-timeout) }}

0 comments on commit 8740d90

Please sign in to comment.