6
6
workflow_dispatch :
7
7
inputs :
8
8
debug :
9
- description : ' Set to on, to open ssh debug session.'
9
+ description : ' Open ssh debug session.'
10
10
required : true
11
- default : ' off'
11
+ default : false
12
+ type : boolean
12
13
schedule :
13
14
- cron : ' 0 13 * * *' # Runs at 6 am pacific every day
14
15
@@ -66,11 +67,11 @@ jobs:
66
67
poetry install
67
68
poetry run pip install -U "Django~=${{ matrix.django-version }}"
68
69
- name : Install Emacs
69
- if : ${{ github.event.inputs.debug == 'on ' }}
70
+ if : ${{ github.event.inputs.debug == 'true ' }}
70
71
run : |
71
72
sudo apt install emacs
72
73
- name : Setup tmate session
73
- if : ${{ github.event.inputs.debug == 'on ' }}
74
+ if : ${{ github.event.inputs.debug == 'true ' }}
74
75
uses : mxschmitt/action-tmate@v3
75
76
with :
76
77
detached : true
@@ -128,11 +129,11 @@ jobs:
128
129
sudo apt-get update
129
130
sudo apt-get install -y fish
130
131
- name : Install Emacs
131
- if : ${{ github.event.inputs.debug == 'on ' }}
132
+ if : ${{ github.event.inputs.debug == 'true ' }}
132
133
run : |
133
134
sudo apt install emacs
134
135
- name : Setup tmate session
135
- if : ${{ github.event.inputs.debug == 'on ' }}
136
+ if : ${{ github.event.inputs.debug == 'true ' }}
136
137
uses : mxschmitt/action-tmate@v3
137
138
with :
138
139
detached : true
@@ -199,7 +200,7 @@ jobs:
199
200
# brew install sbt
200
201
# brew install fish
201
202
- name : Install Emacs
202
- if : ${{ github.event.inputs.debug == 'on ' }}
203
+ if : ${{ github.event.inputs.debug == 'true ' }}
203
204
run : |
204
205
brew install emacs
205
206
- name : Install Poetry
@@ -215,7 +216,7 @@ jobs:
215
216
poetry install
216
217
poetry run pip install -U "Django~=${{ matrix.django-version }}"
217
218
- name : Setup tmate session
218
- if : ${{ github.event.inputs.debug == 'on ' }}
219
+ if : ${{ github.event.inputs.debug == 'true ' }}
219
220
uses : mxschmitt/action-tmate@v3
220
221
with :
221
222
detached : true
@@ -285,11 +286,11 @@ jobs:
285
286
286
287
steps :
287
288
- name : Install Emacs
288
- if : ${{ github.event.inputs.debug == 'on ' }}
289
+ if : ${{ github.event.inputs.debug == 'true ' }}
289
290
run : |
290
291
sudo apt install emacs
291
292
- name : Setup tmate session
292
- if : ${{ github.event.inputs.debug == 'on ' }}
293
+ if : ${{ github.event.inputs.debug == 'true ' }}
293
294
uses : mxschmitt/action-tmate@v3
294
295
with :
295
296
detached : true
0 commit comments