Cache runtime Rust build as well

This commit is contained in:
Thorsten Sommer 2024-06-09 20:10:49 +02:00
parent 460e1a3f6b
commit 7a81dfc701
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -285,6 +285,7 @@ jobs:
- name: Compiling the Rust runtime
uses: pguyot/arm-runner-action@v2.6.5
id: build-linux-arm
with:
base_image: file://$RUNNER_TEMP/linux_arm_qemu_cache.img
cpu: cortex-a53
@ -297,6 +298,10 @@ jobs:
cd runtime
cargo tauri build --target aarch64-unknown-linux-gnu --bundles deb
- name: Update the runner image to cache the Rust runtime build
run: |
mv ${{ steps.build-linux-arm.outputs.image }} $RUNNER_TEMP/linux_arm_qemu_cache.img
- name: Upload artifact (Linux - Debian Package)
uses: actions/upload-artifact@v4
with: