File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383 fi
8484 }
8585
86+ needs_publish hyperlight-js-common
8687 needs_publish hyperlight-js-runtime
8788 needs_publish hyperlight-js
8889
@@ -95,13 +96,20 @@ jobs:
9596 -r crates.io \
9697 -- \
9798 cargo publish --workspace --dry-run \
99+ -p hyperlight-js-common \
98100 -p hyperlight-js \
99101 -p hyperlight-js-runtime
100102
101103 - name : Authenticate with crates.io
102104 uses : rust-lang/crates-io-auth-action@v1
103105 id : crates-io-auth
104106
107+ - name : Publish hyperlight-js-common
108+ run : cargo publish -p hyperlight-js-common
109+ env :
110+ CARGO_REGISTRY_TOKEN : ${{ steps.crates-io-auth.outputs.token }}
111+ if : ${{ env.PUBLISH_HYPERLIGHT_JS_COMMON != 'false' && !inputs.dry_run }}
112+
105113 - name : Publish hyperlight-js-runtime
106114 run : cargo publish -p hyperlight-js-runtime
107115 env :
Original file line number Diff line number Diff line change 11# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
22
3- name : Publish npm packages
3+ name : Create GitHub Release
44
55on :
66 workflow_dispatch :
6060 tar -zcvf benchmarks_Linux_hyperv3.tar.gz benchmarks_Linux_hyperv3
6161
6262 - name : Create GH Release
63- if : ${{ inputs.dry_run == 'false' }}
63+ if : ${{ ! inputs.dry_run }}
6464 run : |
6565 gh release create ${{ inputs.version }} \
6666 --generate-notes \
You can’t perform that action at this time.
0 commit comments