sui-core: don't panic when we can't find unchanged_loaded_runtime_obj… #7064
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "**.rs" | |
- "Cargo.toml" | |
- "Cargo.lock" | |
workflow_dispatch: | |
jobs: | |
docs: | |
name: Generate crate documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 | |
- name: Install Rust toolchain | |
uses: taiki-e/install-action@nextest | |
- name: Generate documentation | |
uses: actions-rs/cargo@9e120dd99b0fbad1c065f686657e914e76bd7b72 # pin@main | |
with: | |
command: doc | |
args: --workspace --exclude "sui-benchmark" --no-deps | |
- name: Deploy documentation | |
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # pin@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: gh-pages | |
publish_dir: ./target/doc | |
force_orphan: true |