Skip to content

Commit

Permalink
Use prebuilt binaries in ci (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Oct 28, 2022
1 parent 3ba1368 commit 0f9aaa4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ jobs:
- uses: stellar/actions/rust-cache@main
- run: rustup update
- run: rustup target add ${{ matrix.sys.target }}
- run: cargo install --target-dir ~/.cargo/target --locked --version 0.5.16 cargo-hack
- uses: stellar/binaries@v12
with:
name: cargo-hack
version: 0.5.16
- if: "github.ref_protected"
run: echo 'CARGO_HACK_ARGS=--feature-powerset' >> $GITHUB_ENV
- if: "!github.ref_protected"
Expand All @@ -81,7 +84,10 @@ jobs:
- uses: stellar/actions/rust-cache@main
- run: rustup update
- run: rustup target add ${{ matrix.sys.target }}
- run: cargo install --target-dir ~/.cargo/target --locked --version 0.5.16 cargo-hack
- uses: stellar/binaries@v12
with:
name: cargo-hack
version: 0.5.16
- if: "github.ref_protected"
run: echo 'CARGO_HACK_ARGS=--feature-powerset' >> $GITHUB_ENV
- if: "!github.ref_protected"
Expand Down

0 comments on commit 0f9aaa4

Please sign in to comment.