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