diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8a0e38e..f95478c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,13 +38,14 @@ jobs: - name: Update Help run: | + $path = [System.Environment]::CurrentDirectory Set-Location .. git clone https://github.com/LTCatt/PCL2Help.git -b master --single-branch --depth 1 Set-Location PCL2Help Remove-Item -Path *.* -Recurse -Force Compress-Archive -Path .\* -DestinationPath .\Help.zip Copy-Item -Path .\Help.zip -Destination "..\PCL2\Plain Craft Launcher 2\Resources\Help.zip" -Force - Set-Location ..\PCL2 + Set-Location $path - name: Replace