diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 82c328c..39eb390 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,11 +9,13 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Install mdBook - run: cargo install mdbook - - name: Build the book - run: mdbook build + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - name: Install mdbook + uses: taiki-e/install-action@mdbook + - name: Install mdbook-linkcheck + uses: taiki-e/install-action@mdbook-linkcheck + - run: mdbook build - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: