Skip to content

feat: add automated build and release workflows#67

Closed
TuoLingTeam wants to merge 4 commits intoihmily:mainfrom
TuoLingTeam:add-github-workflows
Closed

feat: add automated build and release workflows#67
TuoLingTeam wants to merge 4 commits intoihmily:mainfrom
TuoLingTeam:add-github-workflows

Conversation

@TuoLingTeam
Copy link

  • Add GitHub Actions workflows for automated building (Windows, macOS, Linux)
  • Add release workflow with automatic version management
  • Add auto-release workflow for version change detection
  • Include version update script with validation and testing
  • Add Makefile for convenient development commands
  • Add comprehensive documentation for workflows and usage

Features:

  • Multi-platform builds (Windows .zip, macOS .dmg, Linux .tar.gz)
  • Automatic release creation with generated release notes
  • Version management with bilingual update descriptions
  • Build artifact caching and error handling
  • Docker support and development tools

📜 标题(Title)

请提供这个Pull Request中提议的更改的简洁描述:

🔍 描述(Description)

请描述这个PR做了什么/为什么这些更改是必要的:

📝 类型(Type of Change)

这个PR引入了哪种类型的更改?(请勾选所有适用的选项)

  • 修复Bug
  • 新功能
  • 代码风格更新(格式化,局部变量)
  • 重构(改进代码结构)
  • 构建相关更改(依赖项,构建脚本等)
  • 其他:请描述

🏗️ 测试(Testing)

请描述您已经进行的测试:

如果适用,请提供测试更改的说明:

📋 检查清单(Checklist)

在您创建这个PR之前,请确保以下所有框都被勾选,方法是在每个框中放置一个x

  • 我已经阅读了贡献指南文档
  • 我的更改没有产生新的警告
  • 我已经添加了覆盖我更改的测试
  • 我已经相应地更新了文档(如果适用)
  • 我遵循了这个项目的代码风格

注意: 这个PR在所有复选框被勾选之前不会被合并。


感谢您的贡献!

openhands-agent and others added 4 commits May 30, 2025 03:24
- Add GitHub Actions workflows for automated building (Windows, macOS, Linux)
- Add release workflow with automatic version management
- Add auto-release workflow for version change detection
- Include version update script with validation and testing
- Add Makefile for convenient development commands
- Add comprehensive documentation for workflows and usage

Features:
- Multi-platform builds (Windows .zip, macOS .dmg, Linux .tar.gz)
- Automatic release creation with generated release notes
- Version management with bilingual update descriptions
- Build artifact caching and error handling
- Docker support and development tools
- Update actions/upload-artifact from v3 to v4
- Update actions/download-artifact from v3 to v4
- Replace deprecated actions/create-release@v1 with softprops/action-gh-release@v1
- Remove deprecated actions/upload-release-asset@v1 (now handled by softprops/action-gh-release)
- Update actions/github-script from v6 to v7

This fixes the 'Missing download info for actions/upload-artifact@v3' error
and ensures all workflows use supported Action versions.
- Use rsync to copy files to separate directory before creating tar
- Avoid 'file changed as we read it' error by not creating tar in current directory
- Add more exclusions for build artifacts and temporary files
- Ensure clean packaging process for Linux builds

This fixes the 'tar: .: file changed as we read it' error in Linux build workflow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants