mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 05:15:49 +03:00
[PR #145] [MERGED] Fix binary build failures: darwin-x64 runner retired, darwin-arm64 API rate limit, Windows missing libs #277
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DBDiff#277
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/DBDiff/DBDiff/pull/145
Author: @jasdeepkhalsa
Created: 3/7/2026
Status: ✅ Merged
Merged: 3/7/2026
Merged by: @jasdeepkhalsa
Base:
master← Head:feature/fix-releases📝 Commits (2)
0bcaaacfix: retire macos-13 runner, add GITHUB_TOKEN for SPC API calls, add Windows libs to download3c0cda7fix: use actionlint download script instead of non-existent @v1 tag📊 Changes
2 files changed (+36 additions, -3 deletions)
View changed files
➕
.github/workflows/lint-workflows.yml(+25 -0)📝
.github/workflows/release.yml(+11 -3)📄 Description
Fix binary build failures: darwin-x64 runner retired, darwin-arm64 API rate limit, Windows missing libs
Three separate root causes, all diagnosed from the GHA run logs.
darwin-x64 —
macos-13runner retiredGitHub no longer provides
macos-13. The job was failing immediately with"The configuration 'macos-13-us-default' is not supported".
Fix: Switch to
macos-15-intel, the current supported Intel (x64) macOS runner label.darwin-arm64 — GitHub API 403 rate limit during
spc downloaddoctor --auto-fixon macOS installsre2c,autoconf,automake,libtool, andbisonvia Homebrew, each of which makes unauthenticatedapi.github.comcalls.By the time
spc downloadtries to resolve the OpenSSL release, the anonymous ratelimit is exhausted and GitHub returns 403, aborting the build.
Fix: Add
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}as an env var on the Unixbuild step. SPC honours this token for all API calls, including those made by
doctor --auto-fix.win32-x64 / win32-arm64 — libraries never downloaded
The previous
New-Item -Path sourcefix resolved thephp-srcextraction crash,but
spc buildthen immediately failed:The Unix
spc downloadcommand passes$SPC_LIBS(
libiconv,libxml2,ncurses,libedit,postgresql,sqlite) but the Windows commandonly listed extensions — library sources were never fetched.
Fix: Add a
SPC_WINDOWS_LIBSenv constant (libiconv,libxml2,postgresql,sqlite,omitting
ncurses/libeditwhich are Unix-only) and pass it into the Windowsspc downloadinvocation. SPC automatically resolvespostgresql→postgresql-winandlibiconv→libiconv-winon Windows.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.