Skip to content

Commit 27ec7b6

Browse files
Clean up CI artifacts: delete intermediate firmware-* after collect
1 parent 4851058 commit 27ec7b6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
name: firmware-${{ matrix.app }}
9292
path: releases/*.uf2
9393
if-no-files-found: error
94+
retention-days: 1
9495

9596
# Build ESP32-S3 bt2usb (separate job — needs ESP-IDF toolchain)
9697
build-esp32:
@@ -131,6 +132,7 @@ jobs:
131132
name: firmware-bt2usb_esp32s3
132133
path: releases/*.uf2
133134
if-no-files-found: error
135+
retention-days: 1
134136

135137
# Collect all artifacts and create combined release package
136138
collect:
@@ -284,6 +286,12 @@ jobs:
284286
name: release-firmware
285287
path: releases/*.uf2
286288
if-no-files-found: error
289+
retention-days: 1
290+
291+
- name: Delete intermediate artifacts
292+
uses: geekyeggo/delete-artifact@v5
293+
with:
294+
name: firmware-*
287295

288296
- name: Build summary
289297
run: |

0 commit comments

Comments
 (0)