Skip to content

Commit e604299

Browse files
committed
fix
1 parent 74fea6e commit e604299

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Makefile.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,13 @@ if not ${env_file}
186186
exit 1
187187
end
188188
189+
echo ${env_file}
190+
189191
needs_run = exec cargo make --loglevel error check-needs-force-nightly-ci
190192
191-
if eq ${needs_run} "yes"
193+
echo ${needs_run}
194+
195+
if eq "${needs_run}" "yes"
192196
echo "Setting up CI environment for forced-nightly Rust build"
193197
appendfile ${env_file} "ICU4X_NIGHTLY_TOOLCHAIN=nightly\n"
194198
appendfile ${env_file} "INSTALLED_NIGHTLY_VERSION=nightly\n"
@@ -214,14 +218,13 @@ if not ${event_name}
214218
exit 1
215219
end
216220
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"
220224
dispatch_needs_nightly = set false
221225
222226
if is_dispatch
223227
event_path = get_env GITHUB_EVENT_PATH
224-
echo ${event_path}
225228
event_file = readfile ${event_path}
226229
event_json = json_parse ${event_file}
227230
if ${event_json.inputs.nightly}

0 commit comments

Comments
 (0)