Skip to content
Merged
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
8 changes: 8 additions & 0 deletions .github/workflows/CargoPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:

needs_publish hyperlight-common
needs_publish hyperlight-guest
needs_publish hyperlight-guest-macro
needs_publish hyperlight-guest-bin
needs_publish hyperlight-component-util
needs_publish hyperlight-component-macro
Expand Down Expand Up @@ -97,6 +98,13 @@ jobs:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_PUBLISH_TOKEN }}
if: env.PUBLISH_HYPERLIGHT_GUEST != 'false'

- name: Publish hyperlight-guest-macro
continue-on-error: ${{ inputs.dry_run }}
run: cargo publish --manifest-path ./src/hyperlight_guest_macro/Cargo.toml ${{ inputs.dry_run && '--dry-run' || '' }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_PUBLISH_TOKEN }}
if: env.PUBLISH_HYPERLIGHT_GUEST_MACRO != 'false'

- name: Publish hyperlight-guest-bin
continue-on-error: ${{ inputs.dry_run }}
run: cargo publish --manifest-path ./src/hyperlight_guest_bin/Cargo.toml ${{ inputs.dry_run && '--dry-run' || '' }}
Expand Down
1 change: 1 addition & 0 deletions docs/how-to-make-releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ After the previous CI job runs to create the new release branch, go to the ["Cre
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:
- `hyperlight-common`
- `hyperlight-guest`
- `hyperlight-guest-macro`
- `hyperlight-guest-bin`
- `hyperlight-component-util`
- `hyperlight-component-macro`
Expand Down
Loading