ci: cache native Rust builds per platform
This commit is contained in:
parent
b607a1df73
commit
8064981764
1 changed files with 7 additions and 0 deletions
7
.github/workflows/build-native.yml
vendored
7
.github/workflows/build-native.yml
vendored
|
|
@ -49,6 +49,13 @@ jobs:
|
|||
with:
|
||||
targets: ${{ matrix.target }}
|
||||
|
||||
- name: Cache Rust build artifacts
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
shared-key: native-${{ matrix.platform }}
|
||||
workspaces: |
|
||||
native -> target
|
||||
|
||||
- name: Install cross-compilation tools (Linux ARM64)
|
||||
if: matrix.cross
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue