@@ -255,23 +255,19 @@ jobs:
255
255
uses : andstor/file-existence-action@v3
256
256
with :
257
257
files : " /home/runner/.arduino15/packages/esp32/hardware/esp32/*/tools/partitions/boot_app0.bin"
258
- - if : ${{ steps.get_tinyuf2.outcome == 'success' }}
258
+ - if : ${{ steps.get_tinyuf2.outcome == 'success' && steps.check_files.outputs.files_exists == 'true' }}
259
259
name : list arduino esp32 core files
260
- if : steps.check_files.outputs.files_exists == 'true'
261
260
run : |
262
261
ls /home/runner/.arduino15/packages/esp32/hardware/esp32/*/tools/partitions
263
- - if : ${{ steps.get_tinyuf2.outcome == 'success' }}
262
+ - if : ${{ steps.get_tinyuf2.outcome == 'success' && steps.check_files.outputs.files_exists == 'false' }}
264
263
name : list arduino esp32 bsp core files
265
- if : steps.check_files.outputs.files_exists == 'false'
266
264
run : |
267
265
ls /home/runner/Arduino/hardware/espressif/esp32/tools/partitions
268
- - if : ${{ steps.get_tinyuf2.outcome == 'success' }}
266
+ - if : ${{ steps.get_tinyuf2.outcome == 'success' && steps.check_files.outputs.files_exists == 'true' }}
269
267
name : boot_app0 file from arduino-cli core
270
- if : steps.check_files.outputs.files_exists == 'true'
271
268
run : cp /home/runner/.arduino15/packages/esp32/hardware/esp32/*/tools/partitions/boot_app0.bin wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.boot_app0.bin
272
- - if : ${{ steps.get_tinyuf2.outcome == 'success' }}
269
+ - if : ${{ steps.get_tinyuf2.outcome == 'success' && steps.check_files.outputs.files_exists == 'false' }}
273
270
name : boot_app0 file from esp32 source bsp
274
- if : steps.check_files.outputs.files_exists == 'false'
275
271
run : cp /home/runner/Arduino/hardware/espressif/esp32/tools/partitions/boot_app0.bin wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.boot_app0.bin
276
272
- if : ${{ steps.get_tinyuf2.outcome == 'success' }}
277
273
name : Copy boot_app0 file to ota_data_initial.bin (overwrite tinyuf2 boot preference)
0 commit comments