From a0f15bc5b8f794b0733d268de64d095a4d0aef52 Mon Sep 17 00:00:00 2001 From: rahul007-bit Date: Thu, 29 Feb 2024 17:26:02 +0530 Subject: [PATCH] fix shims build and upload release --- .github/workflows/webassembly-pr-build.yml | 9 ++++++++- Makefile | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/webassembly-pr-build.yml b/.github/workflows/webassembly-pr-build.yml index d5ae1ca56..a8c86145e 100644 --- a/.github/workflows/webassembly-pr-build.yml +++ b/.github/workflows/webassembly-pr-build.yml @@ -76,4 +76,11 @@ jobs: - name: Build Jsonnet working-directory: . run: | - make build-jsonnet \ No newline at end of file + make build-jsonnet + - name: Build Release Binary + run: cargo build --release + + - name: Upload to GitHub Releases + uses: actions/upload-rust-binary-action@v1 + with: + bin: your_binary_name \ No newline at end of file diff --git a/Makefile b/Makefile index 236315871..fe61ee33b 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ build-cors: build-shims build-shims: shims-install @echo "Building shims" - @cd JS/wasm/crates/apis/src/http/shims && npm install + @cd JS/wasm/crates/apis/src/http/shims && npm run build shims-install: @echo "Installing deps of shims"