File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 93
93
94
94
- name : Generate Crate Documentation
95
95
run : |
96
+ # Use /mnt for cargo target directory to avoid filling root filesystem
97
+ export CARGO_TARGET_DIR="/mnt/cargo-target"
98
+ sudo mkdir -p "$CARGO_TARGET_DIR"
99
+ sudo chown -R "$USER:$USER" "$CARGO_TARGET_DIR"
96
100
SIMICS_BASE="${HOME}/simics/simics-${{ env.PUBLIC_SIMICS_PACKAGE_VERSION_1000 }}" RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo doc --document-private-items --workspace --no-deps
97
- cp -a target/doc/ docs/book/html/crates/
101
+ # Ensure the destination directory exists before copying
102
+ mkdir -p docs/book/html/crates/
103
+ cp -a "$CARGO_TARGET_DIR/doc/" docs/book/html/crates/
98
104
99
105
- name : Set Documentation Permissions
100
106
run : |
You can’t perform that action at this time.
0 commit comments