Skip to content

Commit 7e05071

Browse files
tmate
1 parent 0f26b42 commit 7e05071

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ jobs:
5353
- if: matrix.language == 'c-cpp'
5454
name: Start tmate session
5555
uses: mxschmitt/action-tmate@v3
56+
run: |
57+
tmate -S /tmp/tmate.sock new-session -d "echo Hello from tmate; sleep 5; bash"
58+
tmate -S /tmp/tmate.sock wait tmate-ready
59+
echo "SSH: $(tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}')"
5660
5761
- if: matrix.language == 'c-cpp'
5862
name: Setup environment

0 commit comments

Comments
 (0)