66 workflow_dispatch :
77 inputs :
88 debug :
9- description : ' Set to on, to open ssh debug session.'
9+ description : ' Open ssh debug session.'
1010 required : true
11- default : ' off'
11+ default : false
12+ type : boolean
1213 schedule :
1314 - cron : ' 0 13 * * *' # Runs at 6 am pacific every day
1415
@@ -66,11 +67,11 @@ jobs:
6667 poetry install
6768 poetry run pip install -U "Django~=${{ matrix.django-version }}"
6869 - name : Install Emacs
69- if : ${{ github.event.inputs.debug == 'on ' }}
70+ if : ${{ github.event.inputs.debug == 'true ' }}
7071 run : |
7172 sudo apt install emacs
7273 - name : Setup tmate session
73- if : ${{ github.event.inputs.debug == 'on ' }}
74+ if : ${{ github.event.inputs.debug == 'true ' }}
7475 uses : mxschmitt/action-tmate@v3
7576 with :
7677 detached : true
@@ -128,11 +129,11 @@ jobs:
128129 sudo apt-get update
129130 sudo apt-get install -y fish
130131 - name : Install Emacs
131- if : ${{ github.event.inputs.debug == 'on ' }}
132+ if : ${{ github.event.inputs.debug == 'true ' }}
132133 run : |
133134 sudo apt install emacs
134135 - name : Setup tmate session
135- if : ${{ github.event.inputs.debug == 'on ' }}
136+ if : ${{ github.event.inputs.debug == 'true ' }}
136137 uses : mxschmitt/action-tmate@v3
137138 with :
138139 detached : true
@@ -199,7 +200,7 @@ jobs:
199200 # brew install sbt
200201 # brew install fish
201202 - name : Install Emacs
202- if : ${{ github.event.inputs.debug == 'on ' }}
203+ if : ${{ github.event.inputs.debug == 'true ' }}
203204 run : |
204205 brew install emacs
205206 - name : Install Poetry
@@ -215,7 +216,7 @@ jobs:
215216 poetry install
216217 poetry run pip install -U "Django~=${{ matrix.django-version }}"
217218 - name : Setup tmate session
218- if : ${{ github.event.inputs.debug == 'on ' }}
219+ if : ${{ github.event.inputs.debug == 'true ' }}
219220 uses : mxschmitt/action-tmate@v3
220221 with :
221222 detached : true
@@ -285,11 +286,11 @@ jobs:
285286
286287 steps :
287288 - name : Install Emacs
288- if : ${{ github.event.inputs.debug == 'on ' }}
289+ if : ${{ github.event.inputs.debug == 'true ' }}
289290 run : |
290291 sudo apt install emacs
291292 - name : Setup tmate session
292- if : ${{ github.event.inputs.debug == 'on ' }}
293+ if : ${{ github.event.inputs.debug == 'true ' }}
293294 uses : mxschmitt/action-tmate@v3
294295 with :
295296 detached : true
0 commit comments