Files
proxycast/.github/workflows/release.yml
T
coso 5e962dbced feat: v0.14.0 - 添加 Provider 图标支持和修复 API 测试模型
## 新功能
- 为所有 Provider 按钮添加图标支持(Kiro、Gemini、Claude、OpenAI 等)
- API Server 页面的默认 Provider 按钮现在显示对应图标
- 配置管理页面的应用类型标签页(Claude Code、Codex、Gemini)显示图标

## 修复
- 修复 API 测试中的模型名称,使用 claude-opus-4-5-20251101
- 修复 TypeScript 编译错误
- 修复 ESLint 警告

## 构建
- 添加 Intel Mac (x86_64-apple-darwin) 构建支持
2025-12-20 12:44:37 +08:00

96 lines
2.5 KiB
YAML

name: Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
inputs:
version:
description: 'Version to release (e.g., v0.1.0)'
required: true
default: 'v0.1.0'
permissions:
contents: write
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- platform: macos-latest
target: aarch64-apple-darwin
name: macOS-arm64
- platform: macos-latest
target: x86_64-apple-darwin
name: macOS-x64
- platform: windows-latest
target: x86_64-pc-windows-msvc
name: Windows-x64
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri
shared-key: "rust-cache-${{ matrix.target }}"
cache-on-failure: true
- name: Install frontend dependencies
run: npm ci
- name: Build Tauri app
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: ${{ github.event.inputs.version || github.ref_name }}
releaseName: 'ProxyCast ${{ github.event.inputs.version || github.ref_name }}'
releaseBody: |
## ProxyCast Release
### Features
- AI API 代理服务
- Kiro OAuth 凭证管理
- OpenAI/Anthropic 兼容 API
- 自动检测凭证文件变化
- 多 Provider 支持
### Downloads
- **macOS (Apple Silicon)**: `proxycast_*_aarch64.dmg`
- **macOS (Intel)**: `proxycast_*_x64.dmg`
- **Windows (64-bit)**: `proxycast_*_x64-setup.exe`
### macOS 首次安装
由于应用未经 Apple 签名,首次打开可能提示「应用已损坏」,请运行:
```bash
xattr -cr /Applications/proxycast.app
```
### 默认配置
- **端口**: 3001
- **API Key**: proxycast-key
releaseDraft: false
prerelease: false
bundles: "dmg,nsis"
args: --target ${{ matrix.target }}