Skip to content

Commit e05ccf4

Browse files
jannausvenpeter42
authored andcommitted
CI: uefi-only: Create installer package explicitly
Github's upload-artifact@v4 action does not add directories to the zip archive. This is not compatible with the installer. Instead create the installer package explicitly and upload that that as artifact. Signed-off-by: Janne Grunau <[email protected]>
1 parent 8f5957a commit e05ccf4

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/installer.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,18 @@ jobs:
8080
8181
- name: Create m1n1 uefi only boot.bin
8282
run: |
83-
mkdir -p uefi-only/out/esp/m1n1/
83+
mkdir -p out/esp/m1n1/
8484
gzip -k u-boot/u-boot-nodtb.bin
8585
cat build/m1n1.bin \
8686
u-boot/arch/arm/dts/t60*.dtb \
8787
u-boot/arch/arm/dts/t81*.dtb \
8888
u-boot/u-boot-nodtb.bin.gz \
89-
> uefi-only/out/esp/m1n1/boot.bin
89+
> out/esp/m1n1/boot.bin
90+
cd out
91+
zip -r uefi-only-${{ env.GIT_DATE }}-${{ env.KERNEL_REF }}.zip esp
9092
9193
- uses: actions/upload-artifact@v4
9294
with:
93-
name: uefi-only-${{ env.GIT_DATE }}-${{ env.KERNEL_REF }}
95+
name: ci-uefi-only-${{ env.GIT_DATE }}-${{ env.KERNEL_REF }}
9496
path: |
95-
uefi-only/out
97+
out/uefi-only-${{ env.GIT_DATE }}-${{ env.KERNEL_REF }}.zip

0 commit comments

Comments
 (0)