Skip to content

Commit 095b8ba

Browse files
committed
ci(hardware): Swap cache to artifacts to avoid errors between OSes
1 parent 575a415 commit 095b8ba

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/workflows/hw.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,10 @@ jobs:
7979
pip install -r tests/requirements.txt --extra-index-url https://dl.espressif.com/pypi
8080
8181
- name: Get binaries
82-
id: cache-build-binaries
83-
uses: actions/cache/restore@v4
8482
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
83+
uses: actions/download-artifact@v4
8584
with:
86-
fail-on-cache-miss: true
87-
key: tests-${{ env.id }}-bin
85+
name: tests-bin-${{ inputs.chip }}-${{ inputs.type }}
8886
path: |
8987
~/.arduino/tests/**/build*.tmp/*.bin
9088
~/.arduino/tests/**/build*.tmp/*.elf

.github/workflows/qemu.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,9 @@ jobs:
113113
114114
- name: Get binaries
115115
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
116-
id: cache-build-binaries
117-
uses: actions/cache/restore@v4
116+
uses: actions/download-artifact@v4
118117
with:
119-
fail-on-cache-miss: true
120-
key: tests-${{ env.id }}-bin
118+
name: tests-bin-${{ inputs.chip }}-${{ inputs.type }}
121119
path: |
122120
~/.arduino/tests/**/build*.tmp/*.bin
123121
~/.arduino/tests/**/build*.tmp/*.elf

.github/workflows/wokwi.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,9 @@ jobs:
9191

9292
- name: Get binaries
9393
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
94-
id: cache-build-binaries
95-
uses: actions/cache/restore@v4
94+
uses: actions/download-artifact@v4
9695
with:
97-
fail-on-cache-miss: true
98-
key: tests-${{ env.id }}-bin
96+
name: tests-bin-${{ inputs.chip }}-${{ inputs.type }}
9997
path: |
10098
~/.arduino/tests/**/build*.tmp/*.bin
10199
~/.arduino/tests/**/build*.tmp/*.elf

0 commit comments

Comments
 (0)