Skip to content

Commit 47a2a51

Browse files
authored
[ci] Remove duplicate build_static_library gate conjunct. (#925)
The Windows-side WASM static-library step repeated the `matrix.build_static_library == 'On'` check twice in its `if:` expression. Harmless (both conjuncts are equivalent) but reads as a copy-paste smell; drop the duplicate.
1 parent 2f99b64 commit 47a2a51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • .github/actions/Build_and_Test_CppInterOp

.github/actions/Build_and_Test_CppInterOp/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ runs:
574574
echo "PREFIX=$env:PREFIX" >> $GITHUB_ENV
575575
576576
- name: Emscripten build of CppInterOp on Windows systems (static library)
577-
if: ${{ runner.os == 'Windows' && matrix.wasm == true && env.BUILD_STATIC_LIBRARY == 'On' && env.BUILD_STATIC_LIBRARY == 'On' }}
577+
if: ${{ runner.os == 'Windows' && matrix.wasm == true && env.BUILD_STATIC_LIBRARY == 'On' }}
578578
shell: powershell
579579
run: |
580580
.\emsdk\emsdk activate ${{ env.EMSDK_VER }}

0 commit comments

Comments
 (0)