Skip to content

Commit 3664bb5

Browse files
authored
ci: cache cross installation (#12325)
1 parent 5e0b8bc commit 3664bb5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,10 @@ jobs:
154154
155155
- name: cross setup
156156
if: contains(matrix.target, 'musl')
157-
run: |
158-
cargo install cross --git https://github.com/cross-rs/cross --rev baf457efc2555225af47963475bd70e8d2f5993f
157+
uses: taiki-e/cache-cargo-install-action@7447f04c51f2ba27ca35e7f1e28fab848c5b3ba7 # v2
158+
with:
159+
git: https://github.com/cross-rs/cross
160+
rev: baf457efc2555225af47963475bd70e8d2f5993f
159161

160162
- name: Build binaries
161163
env:

0 commit comments

Comments
 (0)