mxschmitt / action-tmate

Debug your GitHub Actions via SSH by using tmate to get access to the runner system itself.
https://mxschmitt.github.io/action-tmate/
MIT License
2.93k stars 287 forks source link

Error: Invalid value for 'tmate-server-host': '' #108

Closed odanado closed 2 years ago

odanado commented 2 years ago

I used mxschmitt/action-tmate with the following configuration

      - name: Setup tmate session
        uses: mxschmitt/action-tmate@v3.10

I got the following error.

Error: Error: Invalid value for 'tmate-server-host': ''

ref: https://github.com/odan-sandbox/action-tmate-broken-sandbox/runs/5174243993?check_suite_focus=true

Maybe, an error because validation has been implemented. https://github.com/mxschmitt/action-tmate/pull/105

I think setting default values for each inputs such as tmate-server-host will solve this problem

dscho commented 2 years ago

Version 3.11 fixes it. Sorry for the breakage!

odanado commented 2 years ago

Thank You!

mxschmitt commented 2 years ago

Thank You!

Thank you for reporting!