慕轻雪 1 год назад
Родитель
Сommit
9ff7f89f86
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      .github/workflows/build.yml

+ 2 - 2
.github/workflows/build.yml

@@ -38,13 +38,13 @@ jobs:
     
     
     - name: Update Help
     - name: Update Help
       run:  |
       run:  |
-        $wkpath = [System.Environment]::CurrentDirectory
+        $workpath = [System.Environment]::CurrentDirectory
         Set-Location ..
         Set-Location ..
         git clone https://github.com/LTCatt/PCL2Help.git -b master --single-branch --depth 1
         git clone https://github.com/LTCatt/PCL2Help.git -b master --single-branch --depth 1
         Set-Location PCL2Help
         Set-Location PCL2Help
         Remove-Item -Path *.* -Recurse -Force
         Remove-Item -Path *.* -Recurse -Force
         Compress-Archive -Path .\* -DestinationPath .\Help.zip
         Compress-Archive -Path .\* -DestinationPath .\Help.zip
-        Copy-Item -Path .\Help.zip -Destination "$wkpath\Plain Craft Launcher 2\Resources\Help.zip" -Force
+        Copy-Item -Path .\Help.zip -Destination "$workpath\Plain Craft Launcher 2\Resources\Help.zip" -Force
         Set-Location $path
         Set-Location $path