File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed
Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,8 @@ name: FFXIV Data Downloader
22
33on :
44 workflow_dispatch :
5-
6- push :
7- tags :
8- - " v*"
5+ schedule :
6+ - cron : ' 0 0 * * *' # 每天 UTC 0 点执行(北京时间早上 8 点)
97
108jobs :
119 download_files :
@@ -32,21 +30,19 @@ jobs:
3230 with :
3331 output-path : exd-data
3432 regex : ' ^sqpack\/ffxiv\/0a0000\..+$'
35- verbose : true
3633
37- - name : Create GitHub Release if updated and triggered by tag
38- if : |
39- startsWith(github.ref, 'refs/tags/') &&
40- steps.download.outputs.updated == 'true'
34+ - name : Create GitHub Release if updated
35+ if : steps.download.outputs.updated == 'true'
4136 uses : softprops/action-gh-release@v2
4237 env :
4338 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4439 with :
45- tag_name : ${{ github.ref }}
40+ tag_name : ${{ steps.download.outputs.version }}
4641 name : 国际服原文件备份 ${{ steps.download.outputs.version }}
4742 files : exd-data/**
4843 draft : false
4944 prerelease : false
45+ generate_release_notes : true
5046
5147 - name : Upload Downloaded Artifact
5248 uses : actions/upload-artifact@v4
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments