@@ -58,22 +58,35 @@ jobs:
5858 python -m unittest $_.FullName
5959 }
6060
61+ - name : Sync Repositories # 同步部分代码(deploy.txt中), 合并tag中间更新日志, 到更新库, 以减少用户更新使用的git库大小
62+ id : sync # Give the step an ID to access its outputs
63+ uses : ok-oldking/partial-sync-repo@master # Replace with your action path
64+ with :
65+ repos : |
66+ https://BnanZ0:${{ secrets.OK_GH }}@github.com/BnanZ0/ok-dna-update.git
67+ sync_list : ' deploy.txt'
68+ tag : ${{ github.ref_name }}
69+ gitignore_file : ' .update_repo_gitignore'
70+ show_author : true # 在更新日志中加入作者
71+
6172 - name : Build with PyAppify Action
6273 id : build-app
6374 uses : ok-oldking/pyappify-action@master # 使用pyappify打包exe
6475
6576 - name : Release
6677 uses : softprops/action-gh-release@v2
6778 if : startsWith(github.ref, 'refs/tags/')
79+ env :
80+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6881 with :
6982 body : |
7083 ### 下载包说明
7184 * ok-dna-win32-online-setup.exe 在线安装包, 在线白嫖的服务器不一定稳定, 建议优先使用完整包.
7285 * ok-dna-win32-Global-setup.exe full package with dependencies, using GitHub and PyPi as update source
7386 * 不要下载ok-dna-win32.zip,和SourceCode.zip, Do Not Download the SourceCode, ok-dna-win32.zip
74- files : pyappify_dist/*
75- token : ${{ secrets.GITHUB_TOKEN }}
87+ ### 更新日志 ${{ steps.sync.outputs.start_tag }} -> ${{ steps.sync.outputs.end_tag }}:
88+ ${{ steps.sync.outputs.changes_with_asterisk }}
7689 draft : false
7790 prerelease : false
78- generate_release_notes : true
91+ files : pyappify_dist/*
7992
0 commit comments