tools: update validator.ps1 to return to starting directory after ending call

This commit is contained in:
Constrat
2024-11-02 12:39:07 +01:00
parent 99d4fc16f7
commit 5b97f8d063

View File

@@ -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