From 8a5e93066e95f7d220a7977b30e8458144411e69 Mon Sep 17 00:00:00 2001 From: oklopfer <104327997+oklopfer@users.noreply.github.com> Date: Sun, 12 May 2024 18:28:34 -0400 Subject: [PATCH] Update devel.yml --- .github/workflows/devel.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/devel.yml b/.github/workflows/devel.yml index c463f40..0637d29 100644 --- a/.github/workflows/devel.yml +++ b/.github/workflows/devel.yml @@ -46,17 +46,20 @@ jobs: patch -i 0002-remove-WRONGSUITE-error.patch mv functions /usr/share/debootstrap/functions cp binary_grub-efi /usr/lib/live/build/binary_grub-efi - if [[ "${{ matrix.type }}" == "tarball" ]]; then - cp binary_rootfs /usr/lib/live/build/binary_rootfs - fi + + - name: set to tarball + if: matrix.type == 'tarball' + run: cp binary_rootfs /usr/lib/live/build/binary_rootfs - name: Make scripts executable run: chmod -R +x build.sh etc/auto/config etc/terraform.conf etc/ - name: Build system image - run: | - ./build.sh etc/terraform.conf - echo "OUT_ISO=$(cd builds/${{ matrix.target }}; ls *.iso)" >> $GITHUB_ENV + run: ./build.sh etc/terraform.conf + + - name: export iso filename + if: matrix.type == 'iso' + run: echo "OUT_ISO=$(cd builds/${{ matrix.target }}; ls *.iso)" >> $GITHUB_ENV - uses: actions/upload-artifact@v4.3.3 if: matrix.type == 'iso'