Skip to content

Commit

Permalink
only copy dart_wit_component.wasm to release
Browse files Browse the repository at this point in the history
  • Loading branch information
juancastillo0 committed May 29, 2023
1 parent d8a9b3d commit d333b06
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,7 @@ jobs:
- name: Build all library binaries
run: melos run build
- name: Build wasm component
run: |
cd packages/dart_wit_component
cargo wasi build --release
cd ../..
cp packages/dart_wit_component/target/wasm32-wasi/release/dart_wit_component.wasm platform-build/dart_wit_component.wasm
cmp --silent platform-build/dart_wit_component.wasm packages/dart_wit_component/wasm_wit_component/lib/dart_wit_component.wasm
run: cp packages/dart_wit_component/wasm_wit_component/lib/dart_wit_component.wasm platform-build/dart_wit_component.wasm

- name: Create GitHub release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit d333b06

Please sign in to comment.