Skip to content

Commit

Permalink
Set the target-dir for cargo installs (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Sep 7, 2022
1 parent e10f13c commit 2007024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- run: rustup update
- run: rustup target add ${{ matrix.sys.target }}
- run: rustup target add wasm32-unknown-unknown
- run: cargo install --locked --version 0.5.16 cargo-hack
- run: cargo install --locked --version 0.5.16 cargo-hack --target-dir ~/.cargo/target
- run: cargo hack build --target wasm32-unknown-unknown --profile release
- run: cargo hack --feature-powerset --exclude-features docs build --target ${{ matrix.sys.target }}
- run: cargo hack --feature-powerset --exclude-features docs test --target ${{ matrix.sys.target }}
Expand All @@ -70,7 +70,7 @@ jobs:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup update
- run: cargo install --locked --version 0.2.35 cargo-workspaces
- run: cargo install --locked --version 0.2.35 cargo-workspaces --target-dir ~/.cargo/target
- run: make publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 2007024

Please sign in to comment.