Ver código fonte

Merge pull request #1 from Muqingxue-Studio/mqingxue-patch-1

ci:use context
慕轻雪 1 ano atrás
pai
commit
1db1323273
1 arquivos alterados com 2 adições e 2 exclusões
  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