Skip to content

Commit 0609a47

Browse files
authored
Update buildbinaryen.yml.
1 parent 29dccda commit 0609a47

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/buildbinaryen.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ jobs:
4141
- name: Configure
4242
run: cmake -S binaryen -B binaryen/build ${{ matrix.cmake-args }}
4343

44-
- name: Build
45-
run: |
46-
if [ "${{ runner.os }}" == "Linux" ]; then
47-
cmake --build binaryen/build -- -j$(nproc)
48-
else
49-
cmake --build binaryen/build --config Release -- /m
50-
fi
51-
shell: bash
44+
- name: Build (Linux)
45+
if: runner.os == 'Linux'
46+
run: cmake --build binaryen/build -- -j$(nproc)
47+
48+
- name: Build (Windows)
49+
if: runner.os == 'Windows'
50+
run: cmake --build binaryen/build --config Release -- /m
51+
shell: pwsh
5252

5353
- name: Copy to NuGet runtime folder
5454
run: |

0 commit comments

Comments
 (0)