From d3fa9c62cf738736303c59046498a6ae89e54d1c Mon Sep 17 00:00:00 2001 From: "M.Amin Rayej" Date: Tue, 17 Sep 2024 19:17:14 +0330 Subject: [PATCH] polish ci (#2) --- .github/workflows/build.yml | 1 + Tools/wasm/wasm_assets.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index adaea487ab5540..dcbb8b5173cee1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -312,6 +312,7 @@ jobs: publish_wasix: runs-on: ubuntu-22.04 + if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/3.13.x' || startsWith(github.ref, 'refs/tags/')) needs: build_wasix env: CROSS_BUILD_WASIX: cross-build/wasix diff --git a/Tools/wasm/wasm_assets.py b/Tools/wasm/wasm_assets.py index 0c3b86beb68245..26c5033668c73a 100755 --- a/Tools/wasm/wasm_assets.py +++ b/Tools/wasm/wasm_assets.py @@ -98,7 +98,7 @@ "_sysconfigdata__emscripten_wasm32-emscripten", "_sysconfigdata__emscripten_wasm32-emscripten", "_sysconfigdata__wasi_wasm32-wasi", - "_sysconfigdata__wasi_wasm64-wasi", + "_sysconfigdata__wasi_wasm64-wasi", "_sysconfigdata__wasix_wasm32-wasi", "_sysconfigdata__wasix_wasm64-wasi", )