Skip to content

Commit 936c45b

Browse files
committed
feat: add update source preference settings for auto, GitHub, and Gitee
1 parent dc59eae commit 936c45b

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ jobs:
650650
create-gitee-release:
651651
name: Create Gitee Release(创建 Gitee Release)
652652
if: github.event_name == 'release'
653-
needs: [build-windows, build-windows-portable, build-macos-intel, build-macos-arm, build-ubuntu] # 等待所有构建完成
653+
needs: [build-windows, build-macos-arm] # 只等待需要同步到 Gitee 的构建(Windows MSI + macOS ARM)
654654
runs-on: ubuntu-latest
655655
outputs:
656656
release_id: ${{ steps.gitee_release.outputs.release_id }}
@@ -787,15 +787,14 @@ jobs:
787787
echo "📊 Gitee Release 同步完成!"
788788
echo "📍 Release URL: https://gitee.com/lakernote/easy-postman/releases/${{ needs.create-gitee-release.outputs.tag_name }}"
789789
echo ""
790-
echo "上传状态:"
791-
echo " 🍎 macOS Apple Silicon: ${{ needs.sync-to-gitee.result }}"
792-
echo " 🪟 Windows MSI: ${{ needs.sync-to-gitee.result }}"
793-
echo " 📦 Windows Portable: ${{ needs.sync-to-gitee.result }}"
794-
echo " 🍎 macOS Intel: ${{ needs.sync-to-gitee.result }}"
795-
echo " 🐧 Ubuntu DEB: ${{ needs.sync-to-gitee.result }}"
790+
echo "已同步到 Gitee 的平台:"
791+
echo " 🪟 Windows MSI"
792+
echo " 🍎 macOS Apple Silicon (ARM64)"
793+
echo ""
794+
echo "💡 其他平台(Windows Portable、macOS Intel、Ubuntu DEB)仅在 GitHub Release 提供"
796795
echo ""
797796
if [ "${{ needs.sync-to-gitee.result }}" == "success" ]; then
798-
echo "✅ 所有平台均已成功上传到 Gitee!"
797+
echo "✅ 所有配置平台均已成功上传到 Gitee!"
799798
else
800799
echo "⚠️ 部分平台上传可能失败,请检查上方日志"
801800
fi

0 commit comments

Comments
 (0)