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): set up sccache before win7 cargo fetch

t8y2f0c0065b17b1
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index dfd8b65680..97773e13fe 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -378,18 +378,9 @@ jobs:
toolchain: nightly-2026-07-22
components: rust-src
- - name: Prepare Win7-compatible WebView2 loader
- shell: pwsh
- run: ./.github/scripts/prepare-webview2-win7-loader.ps1
-
- - name: Prepare WebView2 109 fixed runtime
- shell: pwsh
- run: ./.github/scripts/prepare-webview2-win7-runtime.ps1
-
- - name: Probe WebView2 109 fixed runtime
- shell: pwsh
- run: ./.github/scripts/assert-webview2-win7-runtime.ps1
-
+ # sccache must be set up before the WebView2 loader/runtime scripts: they
+ # run `cargo fetch` under the job-wide RUSTC_WRAPPER=sccache, so installing
+ # sccache only after them made cargo abort with "program not found".
- name: Setup sccache
uses: mozilla-actions/sccache-action@9e7fa8a12102821edf02ca5dbea1acd0f89a2696 # v0.0.10
with:
@@ -416,6 +407,18 @@ jobs:
echo "AWS_SECRET_ACCESS_KEY=${CACHE_SECRET_ACCESS_KEY}"
} >> "$GITHUB_ENV"
+ - name: Prepare Win7-compatible WebView2 loader
+ shell: pwsh
+ run: ./.github/scripts/prepare-webview2-win7-loader.ps1
+
+ - name: Prepare WebView2 109 fixed runtime
+ shell: pwsh
+ run: ./.github/scripts/prepare-webview2-win7-runtime.ps1
+
+ - name: Probe WebView2 109 fixed runtime
+ shell: pwsh
+ run: ./.github/scripts/assert-webview2-win7-runtime.ps1
+
- name: Rust cache
uses: swatinem/rust-cache@v2
with: