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