mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 21:05:35 +01:00
ci: QEMU: If cache hit, do not download again
This commit is contained in:
parent
5eec5e8e23
commit
659d35a8e7
1 changed files with 2 additions and 0 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue