Merge:'fix/RedDot-Log&v2'| 二值化红点v2终版公测. #782
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release Dispatcher (Sync) | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| jobs: | |
| dispatch-sync: | |
| # 只有提交信息包含 [deploy-sync] 时才运行 | |
| if: contains(github.event.head_commit.message, '[deploy-sync]') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: write # 需要权限触发其他工作流 | |
| steps: | |
| - name: Trigger Alpha & Beta Builds | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| echo "🚀 检测到同步发版指令,正在触发 Alpha 和 Beta 构建..." | |
| # 1. 触发 Alpha (内测版) | |
| # --ref 指定使用当前触发的分支 | |
| gh workflow run install.yml --repo ${{ github.repository }} --ref ${{ github.ref }} -f deploy_alpha=true | |
| echo "✅ Alpha 版构建请求已发送" | |
| # 2. 触发 Beta (公测版) | |
| gh workflow run install.yml --repo ${{ github.repository }} --ref ${{ github.ref }} -f deploy_beta=true | |
| echo "✅ Beta 版构建请求已发送" |