From 760285ce33b694fb6a02f3f5a513f1e095c58ced Mon Sep 17 00:00:00 2001 From: Justin Ward Date: Wed, 1 Jul 2026 09:36:08 -0400 Subject: [PATCH] ci: select x86_64 asset when upstream ships multi-arch releases GE-Proton publishes an -aarch64 build alongside the x86_64 one starting with v11. The asset-selection loop in pull-components.yml stops at the first asset matching ...[0-9]+.tar.*, and the aarch64 tarball is returned first, so the importer picked GE-Proton11-1-aarch64.tar.gz -- the wrong architecture (see #542). The x86_64 build keeps the legacy unsuffixed name (GE-Proton11-1.tar.gz), so a name-suffix filter cannot select it. Skip aarch64/arm64 assets in the loop instead so it falls through to the x86_64 build. This also future-proofs the identically-configured wine-ge-custom row. --- .github/workflows/pull-components.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-components.yml b/.github/workflows/pull-components.yml index 7ee09581..9dabc13a 100644 --- a/.github/workflows/pull-components.yml +++ b/.github/workflows/pull-components.yml @@ -126,7 +126,7 @@ jobs: else asset_name=$(gh release view "$latest_release" --json assets -q ".[] | .[$i] | .name" -R ${{ matrix.components.repo }}) fi - if [[ "$asset_name" =~ ${{ matrix.components.name-prefix }}.*[0-9]+${{ matrix.components.name-suffix }}\.tar.* ]]; then + if [[ "$asset_name" =~ ${{ matrix.components.name-prefix }}.*[0-9]+${{ matrix.components.name-suffix }}\.tar.* ]] && [[ ! "$asset_name" =~ (aarch64|arm64) ]]; then found=true fi done