From 5b07aa2b12d78f380c24a700815c1acdfaf2defc Mon Sep 17 00:00:00 2001 From: Miguel Fernandez Date: Fri, 15 Dec 2023 16:36:26 +0100 Subject: [PATCH] Output WASM_BUILD_PROFILE --- .github/workflows/wasm-qe-perf.yml | 2 +- query-engine/query-engine-wasm/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wasm-qe-perf.yml b/.github/workflows/wasm-qe-perf.yml index 58f33cb2e8e2..d235d77ac966 100644 --- a/.github/workflows/wasm-qe-perf.yml +++ b/.github/workflows/wasm-qe-perf.yml @@ -70,5 +70,5 @@ jobs: ${{ steps.bench.outputs.stdout }} ``` - After changes in [${{ github.sha }}](https://github.com/prisma/${{ github.repository }}/commit/${{ github.event.pull_request.head.sha }}) + After changes in ${{ github.event.pull_request.head.sha }} edit-mode: replace diff --git a/query-engine/query-engine-wasm/build.sh b/query-engine/query-engine-wasm/build.sh index 39a5e4f8fe3b..f580788feee6 100755 --- a/query-engine/query-engine-wasm/build.sh +++ b/query-engine/query-engine-wasm/build.sh @@ -23,10 +23,10 @@ fi if ! command -v wasm-pack &> /dev/null then echo "wasm-pack could not be found, installing now..." - # Install wasm-pack curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh fi +echo "Building query-engine-wasm using $WASM_BUILD_PROFILE profile" wasm-pack build "--$WASM_BUILD_PROFILE" --target $OUT_TARGET --out-name query_engine sleep 1