Skip to content

Commit 9d36c21

Browse files
authored
Capture output of autogen commands in files
1 parent e09c186 commit 9d36c21

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,12 @@ jobs:
2121
- name: Run auto-generated code checks
2222
shell: bash
2323
run: |
24-
test $(swift run -q --package-path Utilities WasmKitDevUtils wasmgen | wc -l) = "0"
25-
test $(swift run -q --package-path Utilities WasmKitDevUtils vmgen | wc -l) = "0"
24+
swift run -q --package-path Utilities WasmKitDevUtils wasmgen >> wasmgen.txt
25+
swift run -q --package-path Utilities WasmKitDevUtils vmgen >> vmgen.txt
26+
cat wasmgen.txt
27+
cat vmgen.txt
28+
test -s wasmgen.txt && exit 1
29+
test -s vmgen.txt && exit 1
2630
2731
build-macos:
2832
strategy:

0 commit comments

Comments
 (0)