Skip to content

Fix builds with upgrade dependencies #171

Fix builds with upgrade dependencies

Fix builds with upgrade dependencies #171

Workflow file for this run

name: Documentation
on:
push:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build-docs:
name: Build documentation
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12]
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
lfs: true
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
with:
version: "v0.4.0"
- uses: Swatinem/rust-cache@v2
with:
shared-key: "rust-cache-macos-docs"
- name: Build documentation
run: cargo doc
env:
SCCACHE_GHA_ENABLED: true
RUSTC_WRAPPER: sccache
- name: Deploy to GitHub Pages
if: success()
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc
destination_dir: rustdoc