mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
tools: update validator.ps1 to return to starting directory after ending call
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
Push-Location
|
||||
|
||||
# Stage changes otherwise git diff doesn't work
|
||||
git add .
|
||||
|
||||
@@ -111,3 +113,5 @@ Write-Output "hasPngDiff: $hasPngDiff"
|
||||
Write-Output "diff: $diff"
|
||||
Write-Output "contains_png=$hasPngDiff" >> $env:GITHUB_OUTPUT
|
||||
Write-Output "changes=$diff" >> $env:GITHUB_OUTPUT
|
||||
|
||||
Pop-Location
|
||||
|
||||
Reference in New Issue
Block a user