diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4a57d545..6a9b0afb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,8 +15,10 @@ jobs: include: - arch: "32-bit" pi_gen_version: "master" + release: "trixie" - arch: "64-bit" pi_gen_version: "arm64" + release: "trixie" fail-fast: false steps: - name: Checkout repository @@ -29,7 +31,8 @@ jobs: id: build uses: usimd/pi-gen-action@v1 with: - image-name: "raspap-bookworm-${{ matrix.arch == '32-bit' && 'armhf' || 'arm64' }}-lite-${{ github.event.inputs.tag || github.ref_name }}" + release: ${{ matrix.release }} + 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 +42,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 }}