Skip to content

Commit ea7a12f

Browse files
committed
fix
1 parent 74fea6e commit ea7a12f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Makefile.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ if not ${env_file}
187187
end
188188
189189
needs_run = exec cargo make --loglevel error check-needs-force-nightly-ci
190-
190+
needs_run = trim ${needs_run.stdout}
191191
if eq ${needs_run} "yes"
192192
echo "Setting up CI environment for forced-nightly Rust build"
193193
appendfile ${env_file} "ICU4X_NIGHTLY_TOOLCHAIN=nightly\n"
@@ -214,14 +214,13 @@ if not ${event_name}
214214
exit 1
215215
end
216216
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"
220220
dispatch_needs_nightly = set false
221221
222222
if is_dispatch
223223
event_path = get_env GITHUB_EVENT_PATH
224-
echo ${event_path}
225224
event_file = readfile ${event_path}
226225
event_json = json_parse ${event_file}
227226
if ${event_json.inputs.nightly}

0 commit comments

Comments
 (0)