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。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
perf(release): cache static browser builds with sccache
t8y21d98eca99cf9
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 4aa3aca7df..542c151d0f 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -730,6 +730,10 @@ jobs:# page-size ARM64 kernels.rustflags: "-C target-feature=+crt-static -C link-arg=-z -C link-arg=max-page-size=65536"runs-on: ${{ matrix.platform }}+ env:+ CARGO_INCREMENTAL: "0"+ RUSTC_WRAPPER: sccache+ SCCACHE_GHA_ENABLED: ${{ secrets.SCCACHE_S3_BUCKET == '' && 'true' || 'false' }}steps:- uses: actions/checkout@v5@@ -752,6 +756,41 @@ jobs:- name: Install cargo-zigbuildrun: pip3 install cargo-zigbuild+ - name: Setup sccache+ uses: mozilla-actions/sccache-action@9e7fa8a12102821edf02ca5dbea1acd0f89a2696 # v0.0.10+ with:+ version: "v0.10.0"++ # Plain CC/CXX only wrap HOST C compilations (build scripts): for the+ # musl targets cargo-zigbuild sets CC_<target> to zig cc, which takes+ # precedence and must stay unwrapped.+ - name: Configure S3 sccache+ if: env.SCCACHE_GHA_ENABLED != 'true'+ shell: bash+ env:+ CACHE_BUCKET: ${{ secrets.SCCACHE_S3_BUCKET }}+ CACHE_ENDPOINT: ${{ secrets.SCCACHE_S3_ENDPOINT }}+ CACHE_REGION: ${{ secrets.SCCACHE_S3_REGION }}+ CACHE_KEY_PREFIX: ${{ secrets.SCCACHE_S3_KEY_PREFIX }}+ CACHE_ACCESS_KEY_ID: ${{ secrets.SCCACHE_S3_ACCESS_KEY_ID }}+ CACHE_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_S3_SECRET_ACCESS_KEY }}+ run: |+ {+ echo "SCCACHE_BUCKET=${CACHE_BUCKET}"+ echo "SCCACHE_ENDPOINT=${CACHE_ENDPOINT}"+ echo "SCCACHE_REGION=${CACHE_REGION}"+ echo "SCCACHE_S3_KEY_PREFIX=${CACHE_KEY_PREFIX}"+ echo "SCCACHE_S3_USE_SSL=true"+ echo "AWS_ACCESS_KEY_ID=${CACHE_ACCESS_KEY_ID}"+ echo "AWS_SECRET_ACCESS_KEY=${CACHE_SECRET_ACCESS_KEY}"+ # Packaging and container verification run long after the last+ # rustc call; the server's 10-minute default idle timeout would+ # exit first and zero the counters shown by "Show sccache stats".+ echo "SCCACHE_IDLE_TIMEOUT=0"+ echo "CC=${SCCACHE_PATH} cc"+ echo "CXX=${SCCACHE_PATH} c++"+ } >> "$GITHUB_ENV"+- name: Rust cacheuses: swatinem/rust-cache@v2with:@@ -812,6 +851,11 @@ jobs:gh release upload "${GITHUB_REF_NAME}" "$ASSET" "$CHECKSUM" \--repo "${GITHUB_REPOSITORY}" --clobber+ - name: Show sccache stats+ if: always()+ continue-on-error: true+ run: ${SCCACHE_PATH} --show-stats+cleanup-release-signatures:needs: [build, build-windows, build-windows-7-offline]runs-on: ubuntu-latest