Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 24 additions & 4 deletions .github/workflows/CreateRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,39 @@ jobs:
if: ${{ contains(github.ref, 'refs/heads/release/') }}
uses: rust-lang/crates-io-auth-action@v1
id: crates-io-auth
- name: Install cargo-overlay-registry
if: ${{ contains(github.ref, 'refs/heads/release/') }}
run: cargo install cargo-overlay-registry
shell: bash
- name: Publish dry-run
if: ${{ contains(github.ref, 'refs/heads/release/') }}
run: |
set -euxo pipefail
cargo publish -p hyperlight-wasm-aot --dry-run
cargo publish -p hyperlight-wasm --dry-run
rm -Rf ./target/package/tmp-registry
cargo overlay-registry \
-r crates-io \
-r local=./target/package/tmp-registry \
-- \
cargo +1.92 publish --dry-run \
-p hyperlight-wasm-aot \
-p hyperlight-wasm-macro \
-p hyperlight-wasm-runtime \
-p hyperlight-wasm
shell: bash
- name: Publish to crates.io
if: ${{ contains(github.ref, 'refs/heads/release/') }}
run: |
set -euxo pipefail
cargo publish -p hyperlight-wasm-aot
cargo publish -p hyperlight-wasm
rm -Rf ./target/package/tmp-registry
cargo overlay-registry \
-r crates-io \
-r local=./target/package/tmp-registry \
-- \
cargo +1.92 publish \
-p hyperlight-wasm-aot \
-p hyperlight-wasm-macro \
-p hyperlight-wasm-runtime \
-p hyperlight-wasm
env:
CARGO_REGISTRY_TOKEN: ${{ steps.crates-io-auth.outputs.token }}
shell: bash
3 changes: 3 additions & 0 deletions src/hyperlight_wasm_runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ homepage.workspace = true
repository.workspace = true
readme.workspace = true
edition = "2021"
description = """
hyperlight-wasm-runtime is a rust binary crate that provides the WebAssembly runtime binary for hyperlight-wasm.
"""

[lib]
test = false
Expand Down
Loading