From 9feafaec1ff876722c67bc42dfa77f4d011e83b5 Mon Sep 17 00:00:00 2001 From: Josh Wren Date: Sat, 8 Aug 2026 12:50:23 -0500 Subject: [PATCH] Build macOS releases on a supported Apple silicon runner only The x86_64 job targeted macos-13, which GitHub has retired, so it queued forever with no runner to pick it up and blocked publish behind it. The arm64 job used macos-14, which is now deprecated. Move arm64 to macos-15 and drop Intel entirely: Apple silicon covers every Mac sold since 2020, and Intel users can build from source. The matrix keeps its shape so Intel can be restored with a two-line entry. Follow through in the cask generator, which required both architectures and would have failed on an arm-only release. --- .github/workflows/release.yml | 7 ++++--- README.md | 5 +++-- scripts/update-cask.sh | 12 +++++------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 20cdc05..1ea2390 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -84,10 +84,11 @@ jobs: fail-fast: false matrix: include: + # Intel is intentionally absent: Apple silicon covers every Mac sold + # since 2020, and Intel users can build from source. Re-add with + # "- arch: x86_64 / runner: macos-15-intel" if that changes. - arch: arm64 - runner: macos-14 - - arch: x86_64 - runner: macos-13 + runner: macos-15 runs-on: ${{ matrix.runner }} steps: - name: Check out exact selected commit diff --git a/README.md b/README.md index 036477f..b6c6f1e 100644 --- a/README.md +++ b/README.md @@ -71,14 +71,15 @@ brew install --cask cdisplayagain ``` The cask installs the same notarization-free bundle the release workflow -publishes for arm64 and Intel. Because the app is ad-hoc signed rather than +publishes for Apple silicon. Intel Macs get no release asset; build from source +with `make install` instead. Because the app is ad-hoc signed rather than notarized, and Homebrew quarantines every cask download, the cask clears the quarantine flag on install. See the [tap README](https://github.com/JoshCLWren/homebrew-tap) if you would rather handle that yourself with `--no-quarantine`. Building from source avoids the question entirely, since a locally built app is never quarantined. -#### macOS app bundle (Apple silicon or Intel) +#### macOS app bundle (build from source) Build a real `cdisplayagain.app` from a clone and install it, so `.cbz`/`.cbr` files open on double-click: diff --git a/scripts/update-cask.sh b/scripts/update-cask.sh index 36d8daa..3f4f939 100755 --- a/scripts/update-cask.sh +++ b/scripts/update-cask.sh @@ -42,28 +42,26 @@ lookup() { } arm_sha=$(lookup arm64) -intel_sha=$(lookup x86_64) mkdir -p -- "$(dirname -- "$output")" cat > "$output" <= :big_sur" # package-macos.sh zips a versioned parent directory holding the bundle # alongside install.sh and the license, so the app is one level down. - app "cdisplayagain-#{version}-macos-#{arch}/cdisplayagain.app" + app "cdisplayagain-#{version}-macos-arm64/cdisplayagain.app" # The app is ad-hoc signed rather than notarized, so Gatekeeper blocks the # quarantined copy Homebrew downloads until the flag is cleared.