Skip to content

Commit

Permalink
fix target directory
Browse files Browse the repository at this point in the history
  • Loading branch information
john-cd committed Dec 22, 2023
1 parent 25217e9 commit 9c6b660
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/mdbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
runs-on: ubuntu-latest
env:
MDBOOK_VERSION: 0.4.36
CARGO_TARGET_DIR: ./target/
steps:
- uses: actions/checkout@v4
## Rust
Expand Down Expand Up @@ -75,9 +76,9 @@ jobs:
# cargo audit
# cargo pants
- name: Cargo test all crates, including xmpl/*
run: cargo test --locked --target-dir ./target/ --workspace
run: cargo test --locked --workspace
- name: Build all crates, including xmpl/*
run: cargo build --locked --target-dir ./target/ --workspace
run: cargo build --locked --workspace
## Book
- name: Install cargo binstall
run: curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
Expand Down

0 comments on commit 9c6b660

Please sign in to comment.