From d772b2ce39fe9e4d6364515ad6dd567130483af0 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 5 Jul 2025 14:14:09 -0700 Subject: [PATCH] ci: fix release workflows to not build macos app --- .github/workflows/release-pr.yml | 4 ++-- .github/workflows/release-tag.yml | 1 + .github/workflows/release-tip.yml | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index a1cc2af19..37d5ba79b 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -86,7 +86,7 @@ jobs: # GhosttyKit is the framework that is built from Zig for our native # Mac app to access. Build this in release mode. - name: Build GhosttyKit - run: nix develop -c zig build -Doptimize=ReleaseSafe + run: nix develop -c zig build -Doptimize=ReleaseSafe -Demit-macos-app=false # The native app is built with native XCode tooling. This also does # codesigning. IMPORTANT: this must NOT run in a Nix environment. @@ -238,7 +238,7 @@ jobs: # GhosttyKit is the framework that is built from Zig for our native # Mac app to access. Build this in release mode. - name: Build GhosttyKit - run: nix develop -c zig build -Doptimize=Debug + run: nix develop -c zig build -Doptimize=Debug -Demit-macos-app=false # The native app is built with native XCode tooling. This also does # codesigning. IMPORTANT: this must NOT run in a Nix environment. diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index 3deafd066..33cf9f3a8 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -158,6 +158,7 @@ jobs: nix develop -c \ zig build \ -Doptimize=ReleaseFast \ + -Demit-macos-app=false \ -Dversion-string=${GHOSTTY_VERSION} # The native app is built with native XCode tooling. This also does diff --git a/.github/workflows/release-tip.yml b/.github/workflows/release-tip.yml index 2a3277ea6..4d009ab7b 100644 --- a/.github/workflows/release-tip.yml +++ b/.github/workflows/release-tip.yml @@ -196,7 +196,7 @@ jobs: # GhosttyKit is the framework that is built from Zig for our native # Mac app to access. Build this in release mode. - name: Build GhosttyKit - run: nix develop -c zig build -Doptimize=ReleaseFast + run: nix develop -c zig build -Doptimize=ReleaseFast -Demit-macos-app=false # The native app is built with native XCode tooling. This also does # codesigning. IMPORTANT: this must NOT run in a Nix environment. @@ -411,7 +411,7 @@ jobs: # GhosttyKit is the framework that is built from Zig for our native # Mac app to access. Build this in release mode. - name: Build GhosttyKit - run: nix develop -c zig build -Doptimize=Debug + run: nix develop -c zig build -Doptimize=Debug -Demit-macos-app=false # The native app is built with native XCode tooling. This also does # codesigning. IMPORTANT: this must NOT run in a Nix environment. @@ -586,7 +586,7 @@ jobs: # GhosttyKit is the framework that is built from Zig for our native # Mac app to access. Build this in release mode. - name: Build GhosttyKit - run: nix develop -c zig build -Doptimize=ReleaseSafe + run: nix develop -c zig build -Doptimize=ReleaseSafe -Demit-macos-app=false # The native app is built with native XCode tooling. This also does # codesigning. IMPORTANT: this must NOT run in a Nix environment.