Skip to content

Commit 3be7ad9

Browse files
authored
Need to publish hyperlight-guest-macro (#1089)
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
1 parent 6550531 commit 3be7ad9

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/CargoPublish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
7171
needs_publish hyperlight-common
7272
needs_publish hyperlight-guest
73+
needs_publish hyperlight-guest-macro
7374
needs_publish hyperlight-guest-bin
7475
needs_publish hyperlight-component-util
7576
needs_publish hyperlight-component-macro
@@ -97,6 +98,13 @@ jobs:
9798
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_PUBLISH_TOKEN }}
9899
if: env.PUBLISH_HYPERLIGHT_GUEST != 'false'
99100

101+
- name: Publish hyperlight-guest-macro
102+
continue-on-error: ${{ inputs.dry_run }}
103+
run: cargo publish --manifest-path ./src/hyperlight_guest_macro/Cargo.toml ${{ inputs.dry_run && '--dry-run' || '' }}
104+
env:
105+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_PUBLISH_TOKEN }}
106+
if: env.PUBLISH_HYPERLIGHT_GUEST_MACRO != 'false'
107+
100108
- name: Publish hyperlight-guest-bin
101109
continue-on-error: ${{ inputs.dry_run }}
102110
run: cargo publish --manifest-path ./src/hyperlight_guest_bin/Cargo.toml ${{ inputs.dry_run && '--dry-run' || '' }}

docs/how-to-make-releases.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ After the previous CI job runs to create the new release branch, go to the ["Cre
5555
When this job is done, a new [GitHub release](https://github.com/hyperlight-dev/hyperlight/releases) will be created for you. This job also publishes the following rust packages to the crates.io:
5656
- `hyperlight-common`
5757
- `hyperlight-guest`
58+
- `hyperlight-guest-macro`
5859
- `hyperlight-guest-bin`
5960
- `hyperlight-component-util`
6061
- `hyperlight-component-macro`

0 commit comments

Comments
 (0)