Skip to content

Commit

Permalink
Exclude viceroy-component-adapter crate from release build
Browse files Browse the repository at this point in the history
The `viceroy-component-adapter` does not need to be built in the release
builds, since it is meant to be rebuilt with `make adapter` and then
have the generated WASM binary under `lib/data/` committed.
  • Loading branch information
ulyssa committed Jul 9, 2024
1 parent d0356fc commit aa665a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- name: Build
run: |
cargo build --release --all --locked --target=${{ matrix.rust_arch }}-${{ matrix.rust_abi }}
cargo build --release --workspace --exclude viceroy-component-adapter --locked --target=${{ matrix.rust_arch }}-${{ matrix.rust_abi }}
- name: Strip symbols (linux)
if: ${{ matrix.name == 'linux' }}
Expand Down
Binary file modified lib/data/viceroy-component-adapter.wasm
Binary file not shown.

0 comments on commit aa665a6

Please sign in to comment.