Просмотр исходного кода

ci:use context

Co-authored-by: allMagicNB <[email protected]>
慕轻雪 1 год назад
Родитель
Сommit
f31a5b14bc
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      .github/workflows/build.yml

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

@@ -44,10 +44,10 @@ jobs:
         Set-Location PCL2Help
         Remove-Item -Path *.* -Recurse -Force
         Compress-Archive -Path .\* -DestinationPath .\Help.zip
-        Copy-Item -Path .\Help.zip -Destination "$workpath\Plain Craft Launcher 2\Resources\Help.zip" -Force
+        Copy-Item -Path .\Help.zip -Destination "${{ GITHUB.WORKSPACE }}\Plain Craft Launcher 2\Resources\Help.zip" -Force
         Set-Location ..
         Remove-Item PCL2Help -Recurse -Force
-        Set-Location $workpath
+        Set-Location ${{ GITHUB.WORKSPACE }}
 
 
     - name: Replace