mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 05:15:49 +03:00
[PR #146] [MERGED] Fix Windows binary builds and publish job artifact download failure #274
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#274
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/146
Author: @jasdeepkhalsa
Created: 3/7/2026
Status: ✅ Merged
Merged: 3/7/2026
Merged by: @jasdeepkhalsa
Base:
master← Head:fix/windows-binaries📝 Commits (3)
af60f48fix: use postgresql-win and libiconv-win in SPC_WINDOWS_LIBS5be4b18fix: filter download-artifact to dbdiff-* to skip Docker build cache artifacts06728cefix: add PHP 8.1 and 8.2 to all test matrices, docker-compose, and docs📊 Changes
6 files changed (+193 additions, -10 deletions)
View changed files
📝
.github/workflows/release.yml(+12 -3)📝
.github/workflows/tests.yml(+4 -4)📝
DOCKER.md(+10 -0)📝
README.md(+1 -1)📝
docker-compose.yml(+130 -0)📝
start.sh(+36 -2)📄 Description
Fix Windows binary builds and publish job artifact download failure
win32-x64 / win32-arm64 — wrong library names in
spc downloadRoot cause:
SPC_WINDOWS_LIBSused bare namespostgresqlandlibiconv,which download the Unix source tarballs and register download locks under those
names. SPC's Windows build system then looks for
postgresql-winandlibiconv-win(pre-built Visual C++ binary packages), finds no lock entry, andfails immediately:
Fix: Use the correct Windows package names in
SPC_WINDOWS_LIBS:libxml2andsqliteare built from source on all platforms and have no-winvariant.Publish job — Docker build-cache artifacts crash the download step
Root cause: The
download-artifactstep had nopatternfilter, so itattempted to download every artifact in the run — including
DBDiff~DBDiff~*.dockerbuildbuild-cache blobs uploaded by the Docker job.Those are internal BuildKit cache references that cannot be downloaded as normal
artifacts, causing:
This killed the entire publish job even when all required
dbdiff-*artifactswere available.
Fix: Add
pattern: dbdiff-*to thedownload-artifactstep so only PHARand binary artifacts are fetched:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.