From 2f85f21ef951d122b4700e0029cb509472b142c1 Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Sat, 25 May 2024 19:23:59 +0700 Subject: [PATCH] feat: Update diskimg workflow to use inputs for artifact naming and manifest path --- .github/workflows/diskimg.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/diskimg.yml b/.github/workflows/diskimg.yml index 1ca8934..55e62f3 100644 --- a/.github/workflows/diskimg.yml +++ b/.github/workflows/diskimg.yml @@ -74,7 +74,7 @@ jobs: - name: Set output artifact name run: | PREFIX="ultramarine-linux-${{ matrix.arch }}" - name=$(echo $PREFIX-${{ github.event.inputs.edition }} | sed 's/\//-/g') + name=$(echo $PREFIX-${{ inputs.edition }} | sed 's/\//-/g') echo artifact=$name >> $GITHUB_ENV - name: Build image @@ -82,7 +82,7 @@ jobs: set -euxo pipefail chcon system_u:object_r:install_exec_t:s0 "$(which katsu)" # Resolve path to manifest - manifest_path="katsu/${{ github.event.inputs.manifest_path }}-${{ matrix.arch }}.yaml" + manifest_path="katsu/${{ inputs.manifest_path }}-${{ matrix.arch }}.yaml" echo "Using manifest: $manifest_path" export KATSU_LOG=trace katsu -v --output=disk-image $manifest_path