ci: temporarily disable macOS build job (no runner available)
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user