From 94b1b9c186bbd20b6c5cfcee746abd7a1e2a21d6 Mon Sep 17 00:00:00 2001 From: Mladen Jablanovic Date: Mon, 23 Nov 2026 12:37:02 +0100 Subject: [PATCH] fix(cli): drop QEMU setup and make Windows installer non-fatal in release The release job fails building the Inno Setup image: wine's wineserver cannot create its socket ("socket: Function not implemented") on the ubuntu-latest (26.04) runner. Releases 2.72.0-2.74.0 failed this way. - Remove docker/setup-qemu-action. The multi-arch image only COPYs prebuilt binaries onto alpine and Go cross-compiles, so no emulation is needed. - Make the optional Windows installer step non-fatal so a failure no longer blocks the image push, signing, GitHub release and brew bump. The plain Windows binaries are built separately and still released. Co-Authored-By: Claude Sonnet 5.5 --- clients/cli/.github/workflows/release.yml | 2 -- clients/cli/build/release.sh | 7 ++++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/clients/cli/.github/workflows/release.yml b/clients/cli/.github/workflows/release.yml index 936e45191..03dca4898 100644 --- a/clients/cli/.github/workflows/release.yml +++ b/clients/cli/.github/workflows/release.yml @@ -14,8 +14,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up QEMU - uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # pin@3.2.0 - name: Set up Docker Buildx uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # pin@3.6.1 - name: Version diff --git a/clients/cli/build/release.sh b/clients/cli/build/release.sh index c3de46f08..48cdf2035 100755 --- a/clients/cli/build/release.sh +++ b/clients/cli/build/release.sh @@ -9,7 +9,12 @@ sed -e "s/VERSION/${VERSION}/g" ./build/innosetup/phrase-cli.iss.template > ./bu # Build client ./build/build.sh -./build/innosetup/create_installer.sh +# The Windows installer is an optional extra: the plain Windows binaries are +# already built above. Don't let a failure here (e.g. wine/Docker issues on the +# runner) block the rest of the release. +if ! ./build/innosetup/create_installer.sh; then + echo "::warning title=Windows installer::Inno Setup build failed; releasing without phrase_windows_setup*.exe" +fi # build docker image