refactor: move resource copy to test script

[skip changelog]
This commit is contained in:
Constrat
2024-12-31 17:27:50 +01:00
parent 5540fb731b
commit 06bc2bc3b4
2 changed files with 3 additions and 7 deletions

View File

@@ -100,13 +100,6 @@ jobs:
run: |
MSBUILD src/Cpp/MaaSample.slnf -t:restore,build -p:Configuration="Debug" -p:Platform="x64" -m
- name: Copy resource to build directory
if: steps.cache-exe.outputs.cache-hit == 'true'
continue-on-error: true
run: |
robocopy "resource" "x64/Debug/resource" /E /XD "Arknights-Tile-Pos" /MT:4 > $null
robocopy "resource/Arknights-Tile-Pos" "x64/Debug/resource/Arknights-Tile-Pos" "overview.json" > $null
- name: Run tests
run: |
pwsh tools/SmokeTesting/run_tests.ps1

View File

@@ -1,3 +1,6 @@
robocopy "resource" "x64/Debug/resource" /E /XD "Arknights-Tile-Pos" /MT:4 > $null
robocopy "resource/Arknights-Tile-Pos" "x64/Debug/resource/Arknights-Tile-Pos" "overview.json" > $null
$clients = @("Official", "YostarJP", "YostarEN", "YostarKR", "txwy")
$jobs = @()
$error_client = @()