From 8740d908e3ba20d7d81a6f1036d53afff06f7257 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Tue, 26 Nov 2024 10:00:52 -0500 Subject: [PATCH] github: fix timeout-minites handling of tmate steps Signed-off-by: Simon Deziel --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 091b9971..130021b9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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) }}