Store qemu image in dedicated qemu directory

This commit is contained in:
Thorsten Sommer 2024-06-10 21:47:07 +02:00
parent 987ed7d196
commit 70dabf9bc8
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -231,7 +231,7 @@ jobs:
uses: actions/cache@v4
id: linux_arm_cache
with:
path: $RUNNER_TEMP/linux_arm_qemu_cache.img
path: qemu/linux_arm_qemu_cache.img
# When the entire key matches, Rust might just create the bundles using the current .NET build:
key: target-linux-arm64-rust-${{ env.RUST_VERSION }}-dependencies-${{ env.CARGO_LOCK_HASH }}
@ -281,13 +281,13 @@ jobs:
- name: Add the built runner image to the cache
if: steps.linux_arm_cache.outputs.cache-hit != 'true'
run: |
mv ${{ steps.build-linux-arm-runner.outputs.image }} $RUNNER_TEMP/linux_arm_qemu_cache.img
mv ${{ steps.build-linux-arm-runner.outputs.image }} qemu/linux_arm_qemu_cache.img
- 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
base_image: file://qemu/linux_arm_qemu_cache.img
cpu: cortex-a53
optimize_image: false
copy_artifact_path: runtime