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): wait for Release workflow before publishing packages (#31)

skylera523b97e28ba
diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml
index cd22bd6bca..e6e211bdea 100644
--- a/.github/workflows/publish-packages.yml
+++ b/.github/workflows/publish-packages.yml
@@ -1,8 +1,9 @@
name: Publish Packages
on:
- release:
- types: [published]
+ workflow_run:
+ workflows: ["Release"]
+ types: [completed]
permissions:
contents: read
@@ -14,13 +15,13 @@ env:
jobs:
publish:
name: Publish to Homebrew & Scoop
- if: github.event_name == 'release'
+ if: github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
steps:
- name: Extract version from tag
id: version
run: |
- TAG="${{ github.event.release.tag_name }}"
+ TAG="${{ github.event.workflow_run.head_branch }}"
VERSION="${TAG#v}"
if [[ ! "${VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; then
echo "::error::Tag '${TAG}' does not look like a semver version."