Skip to content

fix(ci): source cargo env after make setup in node SDK build#101

Closed
DorianZheng wants to merge 1 commit into
mainfrom
fix/ci-source-cargo-env
Closed

fix(ci): source cargo env after make setup in node SDK build#101
DorianZheng wants to merge 1 commit into
mainfrom
fix/ci-source-cargo-env

Conversation

@DorianZheng

Copy link
Copy Markdown
Member

Summary

After building guest on Linux, Rust is removed to save disk space (rm -rf ~/.rustup ~/.cargo).
make setup reinstalls Rust, but the PATH isn't updated in the same shell, causing cargo ENOENT.

This adds sourcing of $HOME/.cargo/env to make cargo available for the build.

Test plan

  • Trigger build-node-sdk workflow

After building guest on Linux, Rust is removed to save disk space.
make setup reinstalls Rust, but the PATH isn't updated in the same shell.
This adds sourcing of cargo env to make cargo available for the build.
@DorianZheng DorianZheng deleted the fix/ci-source-cargo-env branch January 12, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant