Skip to content

Commit d995ec6

Browse files
authored
Create build-release.yml
1 parent 88f9759 commit d995ec6

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
release:
2+
needs: build
3+
runs-on: ubuntu-22.04
4+
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
5+
6+
steps:
7+
- name: Download all artifacts
8+
uses: actions/download-artifact@v4
9+
with:
10+
merge-multiple: true
11+
path: ./artifacts
12+
13+
- name: Display structure of downloaded files
14+
run: |
15+
echo "Downloaded artifacts:"
16+
find ./artifacts -type f -exec ls -la {} \;
17+
18+
- name: Create Release
19+
uses: softprops/action-gh-release@v2
20+
with:
21+
files: ./artifacts/*
22+
tag_name: ${{ github.event.inputs.version || github.ref_name }}
23+
name: AugmentCode-Free v${{ github.event.inputs.version || github.ref_name }}
24+
body: |
25+
## 🎉 AugmentCode-Free v${{ github.event.inputs.version || github.ref_name }} - 多平台发布
26+
27+
### 📦 下载文件
28+
- **Windows**: `AugmentCode-Free-v${{ github.event.inputs.version || github.ref_name }}-windows.exe`
29+
- **macOS**: `AugmentCode-Free-v${{ github.event.inputs.version || github.ref_name }}-macos`
30+
- **Linux**: `AugmentCode-Free-v${{ github.event.inputs.version || github.ref_name }}-linux`
31+
32+
### 🚀 安装说明
33+
34+
**Windows:**
35+
1. 下载 `.exe` 文件
36+
2. 双击运行(可能需要管理员权限)
37+
3. 首次运行可能需要允许Windows Defender
38+
39+
**macOS:**
40+
1. 下载 macOS 版本
41+
2. 添加执行权限: `chmod +x AugmentCode-Free-*-macos`
42+
3. 运行: `./AugmentCode-Free-*-macos`
43+
4. 如遇安全提示,请在系统偏好设置中允许
44+
45+
**Linux:**
46+
1. 下载 Linux 版本
47+
2. 添加执行权限: `chmod +x AugmentCode-Free-*-linux`
48+
3. 运行: `./AugmentCode-Free-*-linux`
49+
50+
### 🔧 技术改进 v${{ github.event.inputs.version || github.ref_name }}
51+
- ✅ 修复按钮显示键名问题,现在正确显示中文/英文文本
52+
- ✅ 修复PyInstaller打包缺失语言文件的问题
53+
- ✅ 完善所有工作线程和补丁操作的国际化支持
54+
- ✅ 修复补丁状态"已补丁"等硬编码文本
55+
- ✅ 支持Windows、macOS、Linux多平台自动构建
56+
57+
### ⚠️ 重要提示
58+
- 本项目完全开源免费!
59+
- 如有人向您收费,请立即举报诈骗行为
60+
- 项目地址:https://github.com/BasicProtein/AugmentCode-Free
61+
draft: false
62+
prerelease: false
63+
env:
64+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)