fix: TXWY resource updater FINAL fix

ref: #7259
Huge thanks to @Tsuk1ko and @AnnAngela for their invaluable help
This commit is contained in:
David
2023-11-11 15:01:20 +01:00
parent 4a6b0d86a6
commit d0cd30f65e
2 changed files with 41 additions and 54 deletions

View File

@@ -32,11 +32,40 @@ jobs:
- name: Build Resource Updater
run: |
MSBUILD tools/ResourceUpdater/ResourceUpdater.vcxproj /t:rebuild /p:Configuration="Release" /p:Platform="x64" /p:BuildProjectReferences=false /m
- name: Clone ArknightsGameResource for Official
uses: actions/checkout@v4
with:
show-progress: false
repository: yuanyan3060/ArknightsGameResource
ref: main
path: .\tools\ResourceUpdater\x64\Release\Official
sparse-checkout: |
levels.json
item
building_skill
gamedata/excel
- name: Clone ArknightsGameResource_Yostar for Overseas
uses: actions/checkout@v4
with:
show-progress: false
repository: Kengxxiao/ArknightsGameData_YoStar
ref: main
path: .\tools\ResourceUpdater\x64\Release\Overseas
sparse-checkout: |
en_US/gamedata/excel
ja_JP/gamedata/excel
ko_kr/gamedata/excel
- name: Clone arknights-toolbox-update for Taiwan
uses: actions/checkout@v4
with:
show-progress: false
repository: arkntools/arknights-toolbox-update
ref: data-tw
path: .\tools\ResourceUpdater\x64\Release\Overseas\zh_TW\gamedata\excel
token: ${{ secrets.ARKNTOOLS_MAA_RESOURCE_UPDATER}}
- name: Run Resource Updater
env:
ARKNTOOLS_MAA_RESOURCE_UPDATER_TOKEN: ${{ secrets.ARKNTOOLS_MAA_RESOURCE_UPDATER }}
run: |
.\tools\ResourceUpdater\x64\Release\ResourceUpdater.exe "$env:ARKNTOOLS_MAA_RESOURCE_UPDATER_TOKEN"
.\tools\ResourceUpdater\x64\Release\ResourceUpdater.exe
- name: Overseas Tasks Ordering
run: |
python3 tools/TaskSorter/TaskSorter.py