Skip to content

Commit

Permalink
fix: cargo build target directory; update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
john-cd committed Dec 22, 2023
1 parent a6f7e95 commit 5588211
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/mdbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
env:
MDBOOK_VERSION: 0.4.36
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install rustup
run: |
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
Expand All @@ -45,13 +45,13 @@ jobs:
run: cargo install mdbook-keeper --git https://github.com/tfpk/mdbook-keeper.git
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
- name: Build `deps` crate
run: cargo build
run: cargo build --locked --target-dir ./target/
- name: Build with mdBook
run: mdbook build
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: ./book

Expand All @@ -65,4 +65,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit 5588211

Please sign in to comment.