File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ async function run() {
102102 if ( platform === 'win32' ) {
103103 core . debug ( 'check platform' ) ;
104104 await exec . exec ( 'echo' ,
105- [ `Only Support Linux and macOS platform, this platform is ${ os . platform ( ) } ` ] ) ;
105+ [ `::error:: Only Support Linux and macOS platform, this platform is ${ os . platform ( ) } ` ] ) ;
106106
107107 return
108108 }
@@ -178,11 +178,11 @@ while ! /Applications/Docker.app/Contents/Resources/bin/docker system info &>/de
178178command -v docker || echo 'test docker command loop: not found'
179179sleep 1
180180# wait 180s(3min)
181- if [ $i -gt 180 ];then sudo /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check;uname -a;system_profiler SPHardwareDataType;echo "-- Wait docker start $i s too long, exit"; exit 1; fi
181+ if [ $i -gt 180 ];then sudo /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check;uname -a;system_profiler SPHardwareDataType;echo "::error::-- Wait docker start $i s too long, exit"; exit 1; fi
182+ done
183+ echo "::notice::-- Docker is ready.Wait time is $i s"
182184uname -a || true
183185system_profiler SPHardwareDataType || true
184- done
185- echo "-- Docker is ready."
186186` ] ) ;
187187 core . endGroup ( ) ;
188188
You can’t perform that action at this time.
0 commit comments