Skip to content

Commit

Permalink
Use sccache
Browse files Browse the repository at this point in the history
  • Loading branch information
aschaeffer committed May 9, 2023
1 parent aeec001 commit 4b3f2b2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,22 @@ jobs:
steps:
- name: VCS Checkout
uses: actions/checkout@v3

- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
components: rustfmt, rust-src

- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Run cargo doc
uses: actions-rs/cargo@v1
with:
command: doc
args: --all --no-deps
env:
RUSTDOCFLAGS: --enable-index-page -Zunstable-options

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit 4b3f2b2

Please sign in to comment.