Skip to content

Commit 2c83738

Browse files
tmate
1 parent 0f26b42 commit 2c83738

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/codeql.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,13 @@ jobs:
5151
submodules: 'recursive'
5252

5353
- if: matrix.language == 'c-cpp'
54-
name: Start tmate session
55-
uses: mxschmitt/action-tmate@v3
54+
- uses: actions/checkout@v4
55+
56+
- name: Start tmate + run command
57+
run: |
58+
tmate -S /tmp/tmate.sock new-session -d "echo Hello from tmate; sleep 5; bash"
59+
tmate -S /tmp/tmate.sock wait tmate-ready
60+
echo "SSH: $(tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}')"
5661
5762
- if: matrix.language == 'c-cpp'
5863
name: Setup environment

0 commit comments

Comments
 (0)