30 Commits
Author SHA1 Message Date
Hsdi 2f79e2dda0 重新运行
Build Windows EXE with Full Image / build (push) Failing after 5m58s
2026-03-16 00:54:11 +08:00
Hsdi aa678894b0 Merge pull request '更新 .github/workflows/build-exe-Miu.yml' (#7) from DreamMiu/Shortcut_Sync_PotPlayer:main into main
Reviewed-on: Hsdi/Shortcut_Sync_PotPlayer#7
Reviewed-by: miu <205594122@qq.com>
2026-03-16 00:39:40 +08:00
miu c1cda62bb5 revert 65e9670a78
Build Windows EXE with Full Image / build (push) Failing after 13s
revert Merge branch 'main' into main
2026-03-16 00:34:35 +08:00
miu 65e9670a78 Merge branch 'main' into main 2026-03-16 00:32:52 +08:00
Hsdi c7918a7492 Merge branch 'Miu' 2026-03-16 00:11:44 +08:00
Hsdi 0152340b65 Merge branch 'main' into Miu 2026-03-16 00:10:12 +08:00
Hsdi 8a13a098da Merge branch 'main' of https://git.hsdi.cc/Hsdi/Shortcut_Sync_PotPlayer 2026-03-15 23:51:38 +08:00
Hsdi 3646908a00 删除冗余的构建工作流文件 build-exe.yml 和 build-exe-Miu.yml 2026-03-15 23:51:22 +08:00
Hsdi 07c586c1d5 删除 .github/workflows/build-exe.yml 2026-03-15 23:49:27 +08:00
Hsdi 8022a69d61 Merge branch 'main' of https://git.hsdi.cc/Hsdi/Shortcut_Sync_PotPlayer 2026-03-15 23:46:13 +08:00
Hsdi dc264f249b fix: 保留 build-exe.yml 自动化工作流 2026-03-15 23:46:04 +08:00
miu cb555293e4 更新 .github/workflows/build-exe-Miu.yml
Build Windows EXE with Full Image / build (push) Failing after 2m49s
解决冲突

Signed-off-by: miu <205594122@qq.com>
2026-03-15 23:42:10 +08:00
miu 233ceaca2e 更新 .github/workflows/build-exe-Miu.yml
Build Windows EXE with Full Image / build (push) Failing after 2m53s
解决冲突

Signed-off-by: miu <205594122@qq.com>
2026-03-15 23:23:30 +08:00
miu b4dd7492c2 更新 .github/workflows/build-exe.yml
Build Windows EXE with Full Image / build (push) Successful in 2m53s
v1.0
2026-03-15 22:59:39 +08:00
miu f915340969 更新 .github/workflows/build-exe.yml
v1.0
2026-03-15 22:57:59 +08:00
miu 9eb173bdfc 更新 .github/workflows/build-exe.yml
Build Windows EXE with Full Image / build (push) Successful in 2m54s
发布 v1.0

Signed-off-by: miu <205594122@qq.com>
2026-03-15 22:54:33 +08:00
Hsdi d4627c8aba 3151227 2026-03-15 12:27:15 +08:00
Hsdi e59bc51fca 3151223 2026-03-15 12:23:41 +08:00
Hsdi 14e49f1b19 3151150 2026-03-15 11:51:04 +08:00
Hsdi 7f7c172abb 修改工作流 2026-03-15 11:32:35 +08:00
Hsdi 479fc155f7 重新构建代码 2026-03-15 11:15:17 +08:00
Hsdi 4973716368 重构构建工作流 2026-03-15 04:02:31 +08:00
Hsdi 38c3bf33ab 更新构建工作流,优化Python安装和仓库克隆步骤 2026-03-15 03:52:27 +08:00
Hsdi 84de76c853 移除构建作业中的全局组设置 2026-03-15 03:36:40 +08:00
Hsdi 87f8a4cd91 Merge branch 'main' of https://git.hsdi.cc/Hsdi/Shortcut_Sync_PotPlayer 2026-03-15 03:24:19 +08:00
Hsdi cf93a1ce59 删除 .github/workflows/build-exe.yml 2026-03-15 03:05:46 +08:00
miu 789b02ee27 更新 .github/workflows/build-exe.yml 2026-03-15 03:03:16 +08:00
miu 18b5ba9c43 更新 .github/workflows/build-exe.yml 2026-03-15 02:55:44 +08:00
miu 190a08805b 更新 .github/workflows/build-exe.yml 2026-03-15 02:54:15 +08:00
miu e85e2c7aa9 更新 .github/workflows/build-exe.yml
fix
2026-03-15 02:44:53 +08:00
@@ -1,5 +1,11 @@
name: Build Windows EXE with Full Image
on: [push]
on:
push:
# 推荐:只在打标签时触发 Release
tags:
- 'v*' # 例如推送 v1.0.0, v2.1.3 等标签时触发
# 如果你想在每次推送时都创建,也可以保留 branches,但通常会打 tag
branches: ["main"]
jobs:
build:
@@ -91,6 +97,9 @@ jobs:
# 步骤5:安装依赖
- name: Install dependencies
run: |
# 先配置 pip 使用清华源(或其他国内源)
wine "$PYTHON_EXE" -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
wine "$PYTHON_EXE" -m pip config set install.trusted-host pypi.tuna.tsinghua.edu.cn
# 升级 pip
wine "$PYTHON_EXE" -m pip install --upgrade pip
# 安装包
@@ -106,4 +115,20 @@ jobs:
uses: christopherhx/gitea-upload-artifact@v4 # 关键修复!
with:
name: Shortcut_Sync_PotPlayer
path: dist/Shortcut_Sync_PotPlayer.exe
path: dist/Shortcut_Sync_PotPlayer.exe
- name: Create Release and Upload Asset
# 使用专门为 Gitea 开发的 release action
# 这是一个在 Gitea 生态中广泛使用的版本 [citation:2][citation:5]
uses: https://gitea.com/actions/release-action@main
with:
# 文件路径:指向你 PyInstaller 生成的 EXE 文件
files: dist/Shortcut_Sync_PotPlayer.exe
# API 密钥:使用 Gitea 自动提供的 token,用于认证
api_key: '${{ secrets.GITHUB_TOKEN }}'
# 可选:设置 Release 的标题,默认会使用 tag 名称
name: 'Release ${{ github.ref_name }}'
# 可选:是否为草稿 (true/false)
draft: false
# 可选:是否为预发布 (true/false)
prerelease: false