File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -186,9 +186,13 @@ if not ${env_file}
186
186
exit 1
187
187
end
188
188
189
+ echo ${env_file}
190
+
189
191
needs_run = exec cargo make --loglevel error check-needs-force-nightly-ci
190
192
191
- if eq ${needs_run} "yes"
193
+ echo ${needs_run}
194
+
195
+ if eq "${needs_run}" "yes"
192
196
echo "Setting up CI environment for forced-nightly Rust build"
193
197
appendfile ${env_file} "ICU4X_NIGHTLY_TOOLCHAIN=nightly\n"
194
198
appendfile ${env_file} "INSTALLED_NIGHTLY_VERSION=nightly\n"
@@ -214,14 +218,13 @@ if not ${event_name}
214
218
exit 1
215
219
end
216
220
217
- is_schedule = eq ${event_name} "schedule"
218
- is_pr = eq ${event_name} "pull_request"
219
- is_dispatch = eq ${event_name} "workflow_dispatch"
221
+ is_schedule = eq " ${event_name}" "schedule"
222
+ is_pr = eq " ${event_name}" "pull_request"
223
+ is_dispatch = eq " ${event_name}" "workflow_dispatch"
220
224
dispatch_needs_nightly = set false
221
225
222
226
if is_dispatch
223
227
event_path = get_env GITHUB_EVENT_PATH
224
- echo ${event_path}
225
228
event_file = readfile ${event_path}
226
229
event_json = json_parse ${event_file}
227
230
if ${event_json.inputs.nightly}
You can’t perform that action at this time.
0 commit comments