aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorHenrik Tjäder <henrik@tjaders.com>2025-06-15 14:27:39 +0200
committerEmil Fresk <emil.fresk@gmail.com>2025-06-15 15:43:12 +0000
commit659d35a8e7b79add1d8b00bf12dfb9830dbf773f (patch)
tree9d9b699734c0a19570b49ed667fc78153e68f086 /.github/workflows/build.yml
parent5eec5e8e2388fefc9e61803d4cdcaf833812c88d (diff)
ci: QEMU: If cache hit, do not download again
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b2682a4..ed95c4a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -95,9 +95,11 @@ jobs:
${{ runner.OS }}-qemu-
- name: Download ESP32 QEMU
+ if: steps.installqemu.outputs.cache-hit != 'true'
run: wget "${{ env.QEMU_ESP_URL }}" --output-document=${{ env.QEMU_ESP}}.tar.xz
- name: Extract ESP32 QEMU
+ if: steps.installqemu.outputs.cache-hit != 'true'
run: |
mkdir -p qemu-${{ env.QEMU_VERSION }}/build/esp32
tar --strip-components=1 -xvJf ${{ env.QEMU_ESP }}.tar.xz -C qemu-${{ env.QEMU_VERSION }}/build/esp32 qemu