Skip to content

Commit d0de390

Browse files
6by9pelwell
authored andcommitted
workflows: Discard mainline and RT build artifacts after 5 and 30 days
To reduce the size of the stored Github artifacts, retain the mainline builds (arm/bcm2835_defconfig and arm64/arm64) for 5 days, and the bcm2711_rt build for 30. The main ones are retained for 90 days. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
1 parent 970a68f commit d0de390

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/kernel-build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,36 +24,43 @@ jobs:
2424
arch: arm
2525
defconfig: bcm2835_defconfig
2626
kernel: kernel
27+
retention: 5
2728

2829
- name: arm64
2930
arch: arm64
3031
defconfig: defconfig
3132
kernel: kernel8
33+
retention: 5
3234

3335
- name: bcmrpi
3436
arch: arm
3537
defconfig: bcmrpi_defconfig
3638
kernel: kernel
39+
retention: 90
3740

3841
- name: bcm2709
3942
arch: arm
4043
defconfig: bcm2709_defconfig
4144
kernel: kernel7
45+
retention: 90
4246

4347
- name: bcm2711
4448
arch: arm64
4549
defconfig: bcm2711_defconfig
4650
kernel: kernel8
51+
retention: 90
4752

4853
- name: bcm2711_rt
4954
arch: arm64
5055
defconfig: bcm2711_rt_defconfig
5156
kernel: kernel8_rt
57+
retention: 30
5258

5359
- name: bcm2712
5460
arch: arm64
5561
defconfig: bcm2712_defconfig
5662
kernel: kernel_2712
63+
retention: 90
5764

5865
steps:
5966
- name: Install armhf crossbuild toolchain
@@ -100,4 +107,4 @@ jobs:
100107
with:
101108
name: ${{matrix.name}}_build
102109
path: ${{matrix.name}}_build.tar
103-
retention-days: 90
110+
retention-days: ${{matrix.retention}}

0 commit comments

Comments
 (0)