File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ const core = require('@actions/core');
33function run ( ) {
44 try {
55 // This is just a thin wrapper around bash
6- var child = require ( 'child_process' ) . execFile ( './script.sh' ) ;
6+ const script = require ( 'path' ) . resolve ( __dirname , 'script.sh' ) ;
7+
8+ console . log ( script ) ;
9+ var child = require ( 'child_process' ) . execFile ( script ) ;
710 child . stdout . on ( 'data' , function ( data ) {
811 console . log ( data . toString ( ) ) ;
912 } ) ;
Original file line number Diff line number Diff line change 22
33set -e
44
5- echo Setting up tmate
5+ echo Setting up tmate...
6+
67if [ -x " $( command -v brew) " ]; then
78 brew install tmate
89fi
1415[ -e ~ /.ssh/id_rsa ] || ssh-keygen -t rsa -f ~ /.ssh/id_rsa -q -N " "
1516
1617
17- echo Running tmate
18+ echo Running tmate...
19+
1820tmate -S /tmp/tmate.sock new-session -d
1921tmate -S /tmp/tmate.sock wait tmate-ready
2022tmate -S /tmp/tmate.sock display -p ' #{tmate_ssh}'
You can’t perform that action at this time.
0 commit comments