From 0758a3c6746a05687059907a41dd0b09ea29fbed Mon Sep 17 00:00:00 2001 From: farion1231 Date: Thu, 7 Aug 2025 07:48:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20GitHub=20Release:=20?= =?UTF-8?q?=E5=8F=AA=E4=B8=8A=E4=BC=A0=E6=A0=B8=E5=BF=83=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=B9=B6=E6=B7=BB=E5=8A=A0=E8=AF=A6=E7=BB=86=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7782c64..8d49d81 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,6 +72,32 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: files: | - release/* + release/*.exe + release/*.zip + release/*.AppImage + name: "CC Switch ${{ github.ref_name }}" + body: | + ## CC Switch ${{ github.ref_name }} + + Claude Code 供应商切换工具 + + ### 下载 + + #### Windows 用户 + - **安装版 (推荐)**: `CC.Switch.Setup.${{ github.ref_name }}.exe` + - **便携版**: `CC.Switch.${{ github.ref_name }}.exe` + + #### macOS 用户 + - **ARM64 (M1/M2/M3)**: `CC.Switch-${{ github.ref_name }}-arm64-mac.zip` + - **Intel x64**: `CC.Switch-${{ github.ref_name }}-mac.zip` + + #### Linux 用户 + - **AppImage**: `CC.Switch-${{ github.ref_name }}.AppImage` + + ### 使用说明 + 1. 下载对应平台的文件 + 2. Windows 推荐使用安装版获得最佳体验 + 3. macOS 下载 ZIP 后解压即可使用 + 4. Linux 下载后添加执行权限: `chmod +x CC.Switch-*.AppImage` env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file