Skip to content

Commit

Permalink
fix shims build and upload release
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul007-bit committed Feb 29, 2024
1 parent 0633c21 commit a0f15bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/webassembly-pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,11 @@ jobs:
- name: Build Jsonnet
working-directory: .
run: |
make build-jsonnet
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a0f15bc

Please sign in to comment.