File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,13 @@ inputs:
4848 empty. If an exact match is not found, the latest tag is determined by semver x.y.z.
4949 required : false
5050 display :
51- description : |
52- Virtual display used to to open Sublime Text headlessly in Ubuntu. Possible values
53- are "xvfb" and "turbovnc".
51+ description : internal and experimental only
5452 required : true
5553 default : xvfb
54+ window-manager :
55+ description : internal and experimental only
56+ required : true
57+ default : " icewm"
5658
5759runs :
5860 using : ' composite'
@@ -104,12 +106,18 @@ runs:
104106 run : |
105107 if [ "${{ inputs.display }}" = "xvfb" ]; then
106108 Xvfb $DISPLAY -screen 0 1024x768x24 -ac +extension GLX +render -noreset &
107- icewm &
109+ if [ "${{ inputs.window-manager }}" = "icewm" ]; then
110+ icewm &
111+ fi
108112 elif [ "${{ inputs.display }}" = "turbovnc" ]; then
109113 mkdir $HOME/.vnc
110114 echo $RANDOM$RANDOM | vncpasswd -f > $HOME/.vnc/passwd
111115 chmod 0600 $HOME/.vnc/passwd
112- vncserver $DISPLAY -geometry 1024x768 -depth 24 -wm "icewm"
116+ if [ "${{ inputs.window-manager }}" = "icewm" ]; then
117+ vncserver $DISPLAY -geometry 1024x768 -depth 24 -wm "icewm"
118+ else
119+ vncserver $DISPLAY -geometry 1024x768 -depth 24
120+ fi
113121 fi
114122 shell : bash
115123 - if : runner.os == 'Linux' || runner.os == 'macOS'
You can’t perform that action at this time.
0 commit comments