Skip to content

Commit 2f8a6a8

Browse files
committed
Add hyperlight-libc to CI publishing
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
1 parent 58fcbef commit 2f8a6a8

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/CargoPublish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
fi
7070
}
7171
72+
needs_publish hyperlight-libc
7273
needs_publish hyperlight-common
7374
needs_publish hyperlight-guest
7475
needs_publish hyperlight-guest-macro
@@ -81,6 +82,13 @@ jobs:
8182
- name: Authenticate with crates.io
8283
uses: rust-lang/crates-io-auth-action@v1
8384
id: crates-io-auth
85+
86+
- name: Publish hyperlight-libc
87+
continue-on-error: ${{ inputs.dry_run }}
88+
run: cargo publish --manifest-path ./src/hyperlight_libc/Cargo.toml ${{ inputs.dry_run && '--dry-run' || '' }}
89+
env:
90+
CARGO_REGISTRY_TOKEN: ${{ steps.crates-io-auth.outputs.token }}
91+
if: env.PUBLISH_HYPERLIGHT_LIBC != 'false'
8492

8593
- name: Publish hyperlight-common
8694
continue-on-error: ${{ inputs.dry_run }}

src/hyperlight_libc/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
[package]
32
name = "hyperlight-libc"
43
links = "c"

0 commit comments

Comments
 (0)