Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

fix(ci): extract instant client zips with 7z instead of gnu tar

t8y2738160523aee
diff --git a/.github/workflows/agents-release.yml b/.github/workflows/agents-release.yml
index ec72d135cb..88ecf8a304 100644
--- a/.github/workflows/agents-release.yml
+++ b/.github/workflows/agents-release.yml
@@ -258,8 +258,18 @@ jobs:
}
fetch_ic ic-basic.zip "https://download.oracle.com/otn_software/nt/instantclient/2326300/instantclient-basic-windows.x64-23.26.3.0.0.zip"
fetch_ic ic-sdk.zip "https://download.oracle.com/otn_software/nt/instantclient/2326300/instantclient-sdk-windows.x64-23.26.3.0.0.zip"
- tar -xf ic-basic.zip -C instantclient
- tar -xf ic-sdk.zip -C instantclient
+ # Git-bash ships GNU tar, which cannot extract zip archives (bsdtar on
+ # macOS can, which is why this looked fine locally). Use 7-Zip from the
+ # runner image, falling back to PowerShell Expand-Archive.
+ extract_ic() {
+ if command -v 7z >/dev/null 2>&1; then
+ 7z x -y -oinstantclient "$1" >/dev/null
+ else
+ powershell.exe -NoProfile -Command "Expand-Archive -Path '$1' -DestinationPath 'instantclient' -Force"
+ fi
+ }
+ extract_ic ic-basic.zip
+ extract_ic ic-sdk.zip
ic_dir="$(ls -d "${GITHUB_WORKSPACE}/instantclient"/instantclient_* | head -1)"
echo "MinGW gcc: $cc / Instant Client: $ic_dir"
{