diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 8be4aa7..4639dfb 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -14,7 +14,7 @@ jobs: # 项目主入口文件 MAIN_SCRIPT: dir_scanner_gui.py # 生成的 EXE 文件名称 (不带 .exe 后缀) - EXE_NAME: dir_scanner + EXE_NAME: DirectoryMonitor # 依赖配置文件路径 (通常为 requirements.txt) REQUIREMENTS_FILE: requirements.txt # Python 版本号 @@ -30,12 +30,12 @@ jobs: - name: Checkout Code uses: actions/checkout@v4 - # 步骤 1: 安装必要依赖 + # 步骤 1: 安装必要依赖 (增加 golang 供 Gitea Release Action 使用) - name: Install System Dependencies run: | sudo dpkg --add-architecture i386 sudo apt-get update - sudo apt-get install -y xvfb wine64 wine32 wine binutils + sudo apt-get install -y xvfb wine64 wine32 wine binutils golang sudo apt-get clean # 及时清理 apt 缓存节省硬盘空间 # 步骤 2: 在后台持续运行 Xvfb