From 09caacf827ea453188adbc40524024447e247ab2 Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Mon, 30 Dec 2024 00:13:46 +0700 Subject: [PATCH] fix: correct artifact name and variant handling in GHA workflow --- .github/workflows/katsu-live-iso.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/katsu-live-iso.yml b/.github/workflows/katsu-live-iso.yml index d96be98..16286d0 100644 --- a/.github/workflows/katsu-live-iso.yml +++ b/.github/workflows/katsu-live-iso.yml @@ -105,10 +105,10 @@ jobs: - name: Sanitize artifact name run: | name=$(echo ${{ inputs.variant }} | sed 's/\//-/g') - name=$name-${{ inputs.arch }} + name=$name-${{ matrix.arch }} # set github variable - echo artifact=$name-${{ inputs.arch }}-live >> $GITHUB_ENV + echo artifact=$name-${{ matrix.arch }}-live >> $GITHUB_ENV # Get architecture # e.g. flagship/flagship-live -> flagship echo variant=$(echo ${{ inputs.variant }} | cut -d'/' -f1) >> $GITHUB_ENV @@ -123,7 +123,7 @@ jobs: rm -rf /etc/rpm/macros.image-language-conf chcon system_u:object_r:install_exec_t:s0 "$(which katsu)" pushd katsu - KATSU_KEEP_CHROOT=1 KATSU_LOG=trace katsu -v --output=iso "modules/${{ matrix.variant }}/${{ matrix.variant }}-live.yaml" + KATSU_KEEP_CHROOT=1 KATSU_LOG=trace katsu -v --output=iso "modules/${{ inputs.variant }}/${{ inputs.variant }}-live.yaml" # get the ISO name, and then append the arch # e.g. flagship-live.iso -> flagship-live-x86_64.iso