Skip to content

Commit dbe9070

Browse files
authored
Fix workflow release file (#367)
1 parent 010281d commit dbe9070

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.github/workflows/release-wasm.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Release Wasm
22

33
on: workflow_dispatch
44

5+
permissions:
6+
contents: write
7+
58
jobs:
69
build:
710
runs-on: ubuntu-latest
@@ -15,7 +18,7 @@ jobs:
1518
wasm:
1619
- 'JS/wasm/**'
1720
# start of the build job
18-
- name: Build Javy Core
21+
- name: Build Engine
1922
working-directory: .
2023
run: |
2124
make add all
@@ -53,7 +56,7 @@ jobs:
5356
- name: Copy Javy bin
5457
working-directory: .
5558
run: |
56-
cp target/release/javy bin/
59+
cp target/release/arakoo-compiler bin/
5760
5861
- name: Upload Release Binary
5962
uses: actions/upload-artifact@v2
@@ -84,4 +87,4 @@ jobs:
8487
files: |
8588
./Output/*
8689
87-
tag_name: ${{ env.RELEASE_TAG }}
90+
tag_name: ${{ env.RELEASE_TAG }}

JS/wasm/crates/serve/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ anyhow = { workspace = true }
1515
serde = { workspace = true }
1616
serde_json = "1"
1717
tokio = { version = "1.21.2", features = ["full"] }
18-
tracing = "0.1.37"
18+
tracing = { version = "0.1.37" , features = ["log"] }
1919
hyper = { version = "0.14.26", features = ["full"] }
2020
futures = "0.3.24"
2121
tracing-subscriber = { version = "^0.3.18", features = ["env-filter", "fmt"] }

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.PHONY: all
2-
all: build-javy
2+
all: build-cli
33

44
add:
55
@echo "Adding wasm32-wasi target"
@@ -18,21 +18,21 @@ build-arakoo:
1818
@echo "Building arakoo"
1919
@cargo build -p serve -r
2020

21-
build-javy: build-cors
21+
build-cli: build-engine
2222
@echo "Building javy cli"
2323
@CARGO_PROFILE_RELEASE_LTO=off cargo build -p cli -r
2424

25-
build-cors: build-shims
26-
@echo "Building arakoo core"
27-
@cargo build -p arakoo-core --target=wasm32-wasi -r --features experimental_event_loop
25+
build-engine: build-shims
26+
@echo "Building arakoo engine"
27+
@cargo build -p arakoo-js-engine --target=wasm32-wasi -r
2828

2929
build-shims: shims-install
3030
@echo "Building shims"
31-
@cd JS/wasm/crates/apis/src/http/shims && npm run build
31+
@cd JS/wasm/crates/arakoo-core/src/apis/http/shims && npm run build
3232

3333
shims-install:
3434
@echo "Installing deps of shims"
35-
@cd JS/wasm/crates/apis/src/http/shims && npm install
35+
@cd JS/wasm/crates/arakoo-core/src/apis/http/shims && npm install
3636

3737
compile: build-example
3838
./target/release/javy compile JS/wasm/examples/ec-wasmjs-hono/bin/app.js

0 commit comments

Comments
 (0)