From a6d385d8447ac10735c9726d14291b3ee5a56de1 Mon Sep 17 00:00:00 2001 From: Baocheng Su Date: Tue, 30 Jan 2024 17:16:09 +0800 Subject: [PATCH] ci: Folder RT image to SWU image This will save us some space. Also change the SWU image name to make it more clear in the github action download panel. Signed-off-by: Baocheng Su --- .github/workflows/main.yml | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c0fe95ebc..7afd814d4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,24 +25,6 @@ jobs: build/tmp/deploy/images/iot2050/iot2050-image-example-iot2050-debian-iot2050.wic build/tmp/deploy/images/iot2050/iot2050-image-example-iot2050-debian-iot2050.wic.bmap - debian-rt-example-image: - name: Debian RT example image - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Free Disk Space - uses: ./.github/workflows/free-disk-space - - name: Build image - run: ./kas-container build kas-iot2050-example.yml:kas/opt/preempt-rt.yml - - name: Upload image - uses: actions/upload-artifact@v3 - with: - name: iot2050-example-image-rt - path: | - build/tmp/deploy/images/iot2050/iot2050-image-example-iot2050-debian-iot2050.wic - build/tmp/deploy/images/iot2050/iot2050-image-example-iot2050-debian-iot2050.wic.bmap - debian-swupdate-image: name: Debian secure boot SWUpdate image runs-on: ubuntu-latest @@ -52,11 +34,11 @@ jobs: - name: Free Disk Space uses: ./.github/workflows/free-disk-space - name: Build image - run: ./kas-container build kas-iot2050-swupdate.yml:kas/opt/secure-boot.yml + run: ./kas-container build kas-iot2050-swupdate.yml:kas/opt/secure-boot.yml:kas/opt/preempt-rt.yml - name: Upload image uses: actions/upload-artifact@v3 with: - name: iot2050-swupdate-image + name: iot2050-secureboot-swu-image path: | build/tmp/deploy/images/iot2050/iot2050-image-swu-example-iot2050-debian-iot2050.wic build/tmp/deploy/images/iot2050/iot2050-image-swu-example-iot2050-debian-iot2050.wic.bmap