Improved caching

This commit is contained in:
Thorsten Sommer 2024-09-04 11:18:43 +02:00
parent aa3b9fa2b5
commit 5a70985bcc
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -576,14 +576,15 @@ jobs:
cd runtime cd runtime
# Try to restore the Rust cache from previous build: # Try to restore the Rust cache from previous build:
mkdir -p /rust-cache mkdir -p /rust-cache/target
rm -fr target rm -fr target
mv /rust-cache/target target cp -Rp /rust-cache/target target
cargo tauri build --target aarch64-unknown-linux-gnu --bundles deb cargo tauri build --target aarch64-unknown-linux-gnu --bundles deb
# Save the built libraries for the next job: # Save the built libraries for the next job:
mv target /rust-cache/target rm -fr /rust-cache/target
mv target /rust-cache
- name: Debug - name: Debug
if: ${{ env.SKIP != 'true' }} if: ${{ env.SKIP != 'true' }}