We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f26b42 commit b2fa1ecCopy full SHA for b2fa1ec
.github/workflows/codeql.yml
@@ -50,10 +50,15 @@ jobs:
50
lfs: true
51
submodules: 'recursive'
52
53
- - if: matrix.language == 'c-cpp'
54
- name: Start tmate session
+ - name: Start a tmate session
+ id: tmate
55
uses: mxschmitt/action-tmate@v3
56
57
+ - name: Execute remote command via tmux
58
+ run: |
59
+ ssh -o StrictHostKeyChecking=no -t "${{ steps.tmate.outputs.ssh }}" \
60
+ "tmux send-keys -t 0 'echo Hello from remote!' C-m && sleep 1 && tmux capture-pane -p -S -50"
61
+
62
- if: matrix.language == 'c-cpp'
63
name: Setup environment
64
run: |
0 commit comments