From 1542f0fe980ccdc990bb6332a17377560122e0e5 Mon Sep 17 00:00:00 2001 From: 4NK CI Bot Date: Sun, 21 Sep 2025 17:13:07 +0000 Subject: [PATCH] ci: docker_tag=ext - Fix CI workflow to verify WASM files instead of building them --- .gitea/workflows/docker-ext.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/docker-ext.yml b/.gitea/workflows/docker-ext.yml index a81de80..d367e2f 100644 --- a/.gitea/workflows/docker-ext.yml +++ b/.gitea/workflows/docker-ext.yml @@ -37,16 +37,14 @@ jobs: ssh-private-key: | ${{ secrets.SSH_PRIVATE_KEY }} - - name: Build WebAssembly + - name: Verify WebAssembly files run: | set -euo pipefail - # Install Rust and wasm-pack - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - source ~/.cargo/env - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - - # Build the WebAssembly package - npm run build_wasm + # Verify that the pre-built WASM files are present + echo "Verifying WebAssembly files..." + ls -la pkg/ + file pkg/sdk_client_bg.wasm + echo "WebAssembly files verified successfully" - name: Extract docker tag from commit message (optional) id: tag