File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed
Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -3,23 +3,47 @@ name: FFXIV Data Downloader
33on :
44 workflow_dispatch :
55
6+ push :
7+ tags :
8+ - " v*"
9+
610jobs :
711 download_files :
812 runs-on : ubuntu-latest
9-
13+
1014 steps :
1115 - name : Checkout repository
1216 uses : actions/checkout@v4
1317
1418 - name : Download EXD Files
19+ id : download
1520 uses : WorkingRobot/ffxiv-downloader@v8
1621 with :
1722 output-path : exd-data
23+
1824 regex : ' ^sqpack\/ffxiv\/0a0000\..+$'
1925
26+ - name : Create GitHub Release if updated and triggered by tag
27+
28+ if : |
29+ startsWith(github.ref, 'refs/tags/') &&
30+ steps.download.outputs.updated == 'true'
31+ uses : softprops/action-gh-release@v2
32+ env :
33+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+ with :
35+ tag_name : ${{ github.ref }}
36+
37+ name : FFXIV 原始文件备份 Version ${{ steps.download.outputs.version }}
38+
39+ files : exd-data/**
40+
41+ draft : false
42+ prerelease : false
43+
2044 - name : Upload Downloaded Artifact
2145 uses : actions/upload-artifact@v4
2246 with :
2347 name : ffxiv-exd-files
2448 path : exd-data
25- retention-days : 7
49+ retention-days : 7
You can’t perform that action at this time.
0 commit comments