diff --git a/.github/workflows/web-assembly.yml b/.github/workflows/web-assembly.yml index 6750087b..83412dcb 100644 --- a/.github/workflows/web-assembly.yml +++ b/.github/workflows/web-assembly.yml @@ -26,6 +26,9 @@ jobs: cd emsdk ./emsdk install latest ./emsdk activate latest + + chmod +x emsdk_env.sh + source emsdk_env.sh - name: Install Node.js and npx run: | sudo DEBIAN_FRONTEND=noninteractive apt-get update @@ -44,12 +47,6 @@ jobs: echo "PATH=$PATH:/home/runner/work/Salam/Salam/emsdk:/home/runner/work/Salam/Salam/emsdk/upstream/emscripten" >> $GITHUB_ENV - name: Run WebAssembly build script run: | - chmod +x emsdk/emsdk_env.sh - source emsdk/emsdk_env.sh - - ./emsdk install latest - ./emsdk activate latest - chmod +x build-webassembly.sh bash build-webassembly.sh - name: Clone Salam-Editor repository