jim800121chen c54f16fca0 Initial commit: visionA monorepo with local-tool subproject
local-tool/: visionA-local desktop app
- M1: Wails shell + Go server + Next.js UI + Mock mode (macOS dmg ready)
- M2: i18n (zh-TW/en) + Settings 4-tab refactor
- M3: Embedded Python 3.12 runtime (python-build-standalone) + KneronPLUS wheels
- M4: Windows Inno Setup script (build on Windows runner)
- M5: Linux AppImage script + udev rule (build on Linux runner)
- M6: ffmpeg (GPL, pending legal review) + yt-dlp bundled
- Lifecycle: watchServer health check, fatal native dialog,
            Wails IPC raise endpoint, stale process cleanup

.autoflow/: full PRD / Design Spec / Architecture / Testing docs
            (4 rounds tri-party discussion + cross review)
.github/workflows/: macOS / Windows / Linux build CI

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 22:10:38 +08:00

62 lines
1.7 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# TODO: enable when first release ready
#
# 此 workflow 會在推送 v* tag 時自動建立 GitHub Release
# 並把 build.yml 產出的三平台 artifact 上傳。
#
# 啟用方式:
# 1. 確認 build.yml 三個 job 都能穩定成功
# 2. 把 `on.push.tags` 區塊取消註解
# 3. 推送 tag`git tag v0.1.0 && git push origin v0.1.0`
name: Release
on:
workflow_dispatch:
# push:
# tags: ['v*']
jobs:
release:
name: Create GitHub Release
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
# 觸發並等待 build.yml 完成(或改用 workflow_run 觸發)
# 這裡先用最簡單的做法:假設 build.yml 已經跑過,直接抓 artifact
- name: Download macOS artifact
uses: actions/download-artifact@v4
with:
name: visiona-local-macos-x64
path: release/
- name: Download Windows artifact
uses: actions/download-artifact@v4
with:
name: visiona-local-windows-x64
path: release/
- name: Download Linux artifact
uses: actions/download-artifact@v4
with:
name: visiona-local-linux-x64
path: release/
- name: List release assets
run: ls -lh release/
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
name: visionA-local ${{ github.ref_name }}
draft: true
generate_release_notes: true
files: |
release/visiona-local.dmg
release/visiona-local-*.exe
release/visiona-local-*.AppImage