Skip to content

Commit 6f1bc2e

Browse files
committed
CI: Cache cross binary
1 parent 922dbd1 commit 6f1bc2e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ jobs:
3434
- name: Install Rust
3535
uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30 # stable branch
3636

37+
- name: Cache cross binary
38+
uses: actions/cache@v4
39+
with:
40+
path: ~/.cargo/bin/cross
41+
key: cross-51f46f296253d8122c927c5bb933e3c4f27cc317
42+
3743
- name: Install cross
3844
run: |
3945
if [ ! -f "$HOME/.cargo/bin/cross" ]; then

0 commit comments

Comments
 (0)