mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
perf: resource updater validator in native powershell (#10493)
* perf: native pwsh resourceupdatevalidator * chore: pwsh implementation in workflow * style: ps1 formatting * style: remove log warning * style: more log styling output * style: too many lines lol * style: log end output format new line instead of json for readibility
This commit is contained in:
7
.github/workflows/res-update-game.yml
vendored
7
.github/workflows/res-update-game.yml
vendored
@@ -178,14 +178,9 @@ jobs:
|
||||
with:
|
||||
args: -w ${{ steps.task_sorting.outputs.gitdiff }}
|
||||
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
check-latest: true
|
||||
- name: Check if only sorted and Templates
|
||||
id: check_sorted_templates
|
||||
run: node tools/ResourceUpdateValidator/index.mjs
|
||||
run: pwsh tools/ResourceUpdateValidator/script.ps1
|
||||
|
||||
- name: Setup python
|
||||
if: steps.check_sorted_templates.outputs.contains_png == 'True'
|
||||
|
||||
Reference in New Issue
Block a user