From 0006620eb54c2db375b89a14bf0423ca2ce8757e Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Thu, 28 May 2026 17:34:09 +0300 Subject: [PATCH] ci: temporarily disable macOS build job (no runner available) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Gitea instance currently has no macOS runner attached, so the build-macos job was failing visibly on every release even with continue-on-error: true, and the release body advertised macOS downloads that were never produced. - Gate build-macos with `if: false` (job is preserved verbatim except for the gate, so re-enablement is a one-line delete). - Drop the macOS rows from the Downloads table generated by the create-release job. Kept as commented-out lines inside the heredoc. Both changes carry a `TODO(macos-runner)` marker — `grep` for it to find every site that needs flipping when a macOS runner is connected. Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/release.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index cc48247..f582334 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -60,9 +60,11 @@ jobs: | Windows (installer) | \`MediaServer-{tag}-setup.exe\` | | Windows (portable) | \`MediaServer-{tag}-win-x64.zip\` | | Linux | \`MediaServer-{tag}-linux-x64.tar.gz\` | - | macOS (Apple Silicon) | \`MediaServer-{tag}-macos-arm64.tar.gz\` | - | macOS (Intel) | \`MediaServer-{tag}-macos-x86_64.tar.gz\` | ''').strip()) + # TODO(macos-runner): re-add the macOS rows below once a macOS + # runner is connected to Gitea and the build-macos job is re-enabled. + # | macOS (Apple Silicon) | \`MediaServer-{tag}-macos-arm64.tar.gz\` | + # | macOS (Intel) | \`MediaServer-{tag}-macos-x86_64.tar.gz\` print(json.dumps('\n\n'.join(sections))) ") @@ -238,10 +240,16 @@ jobs: # --- Build macOS tarball (best-effort; requires a macos runner) --- # PyObjC wheels are macOS-only, so this job must run on a real Mac. - # If your Gitea instance has no macos runners, the job is skipped at - # scheduling time and the rest of the release still ships. + # + # TODO(macos-runner): Temporarily disabled via `if: false` because the + # Gitea instance currently has no macOS runner attached. To re-enable: + # 1. Connect a macOS runner to Gitea + # 2. Delete the `if: false` line below + # 3. Restore the macOS rows in the Downloads table generated by the + # create-release job (search for the matching TODO(macos-runner)). build-macos: needs: create-release + if: false runs-on: macos-latest continue-on-error: true steps: