Skip to content
Merged
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
14 changes: 13 additions & 1 deletion .github/workflows/CreateRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,21 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
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
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_PUBLISH_TOKEN }}
shell: bash
- name: Publish to crates.io
if: ${{ contains(github.ref, 'refs/heads/release/') }}
run: cargo publish hyperlight-wasm
run: |
set -euxo pipefail
cargo publish -p hyperlight-wasm-aot
cargo publish -p hyperlight-wasm
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_PUBLISH_TOKEN }}
shell: bash
Loading