Skip to content

Commit fda7fb3

Browse files
committed
(feature) Add outputs to detached action as well
1 parent cad6165 commit fda7fb3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

detached/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,11 @@ inputs:
5757
[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
5858
default: ${{ github.token }}
5959

60+
outputs:
61+
ssh-command:
62+
description: 'The SSH command to connect to the tmate session (only set when detached mode is enabled)'
63+
ssh-address:
64+
description: 'The raw SSH address without the "ssh" prefix (only set when detached mode is enabled)'
65+
web-url:
66+
description: 'The web URL to connect to the tmate session (only set when detached mode is enabled and web URL is available)'
67+

0 commit comments

Comments
 (0)