From 0f9583e3662bd45495646484943207c0e0a2ff07 Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Mon, 13 Oct 2025 09:34:48 +0200 Subject: [PATCH] Use matrix.release for image_ + asset_name --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 74dfb1a3..7e0a7754 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: id: build uses: usimd/pi-gen-action@v1.11.0 with: - image-name: "raspap-bookworm-${{ matrix.arch == '32-bit' && 'armhf' || 'arm64' }}-lite-${{ github.event.inputs.tag || github.ref_name }}" + image-name: "raspap-${{ matrix.release }}-${{ matrix.arch == '32-bit' && 'armhf' || 'arm64' }}-lite-${{ github.event.inputs.tag || github.ref_name }}" enable-ssh: 1 stage-list: stage0 stage1 stage2 ./stage-raspap verbose-output: true @@ -39,7 +39,7 @@ jobs: - name: Upload Artifact uses: svenstaro/upload-release-action@v2 with: - asset_name: "raspap-bookworm-${{ matrix.arch == '32-bit' && 'armhf' || 'arm64' }}-lite-${{ github.event.inputs.tag || github.ref_name }}.img.zip" + asset_name: "raspap-${{ matrix.release }}-${{ matrix.arch == '32-bit' && 'armhf' || 'arm64' }}-lite-${{ github.event.inputs.tag || github.ref_name }}.img.zip" file: ${{ steps.build.outputs.image-path }} repo_token: ${{ secrets.GITHUB_TOKEN }} tag: ${{ github.event.inputs.tag || github.ref }}