Skip to content

Commit

Permalink
fix: correct artifact name and variant handling in GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Dec 29, 2024
1 parent 609fbd4 commit 09caacf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/katsu-live-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 09caacf

Please sign in to comment.