Skip to content

Commit c3bf99f

Browse files
authored
also publish hl-wasm-aot (#97)
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
1 parent 8f2feee commit c3bf99f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/CreateRelease.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,21 @@ jobs:
104104
env:
105105
GH_TOKEN: ${{ github.token }}
106106
shell: bash
107+
- name: Publish dry-run
108+
if: ${{ contains(github.ref, 'refs/heads/release/') }}
109+
run: |
110+
set -euxo pipefail
111+
cargo publish -p hyperlight-wasm-aot --dry-run
112+
cargo publish -p hyperlight-wasm --dry-run
113+
env:
114+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_PUBLISH_TOKEN }}
115+
shell: bash
107116
- name: Publish to crates.io
108117
if: ${{ contains(github.ref, 'refs/heads/release/') }}
109-
run: cargo publish hyperlight-wasm
118+
run: |
119+
set -euxo pipefail
120+
cargo publish -p hyperlight-wasm-aot
121+
cargo publish -p hyperlight-wasm
110122
env:
111123
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_PUBLISH_TOKEN }}
112124
shell: bash

0 commit comments

Comments
 (0)