Skip to content

Commit 094bcd5

Browse files
authored
Use test command in check-autogen-diff
1 parent 291b75e commit 094bcd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
fetch-depth: 2
2121
- name: Run auto-generated code checks
2222
run: |
23-
[[ $(swift run -q --package-path Utilities WasmKitDevUtils wasmgen | wc -l) == 0 ]] || exit 1
24-
[[ $(swift run --package-path Utilities WasmKitDevUtils vmgen | wc -l) == 0 ]] || exit 1
23+
test $(swift run -q --package-path Utilities WasmKitDevUtils wasmgen | wc -l) = "0"
24+
test $(swift run -q --package-path Utilities WasmKitDevUtils vmgen | wc -l) = "0"
2525
2626
build-macos:
2727
strategy:

0 commit comments

Comments
 (0)