From f31a5b14bc9f0be386888552f24d2c2a4ac42d65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=85=95=E8=BD=BB=E9=9B=AA?= <3894593384@qq.com> Date: Wed, 12 Feb 2025 15:31:35 +0800 Subject: [PATCH] ci:use context Co-authored-by: allMagicNB <116283787+allMagicNB@users.noreply.github.com> --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c449f4..fbebe6a 100644 --- a/.github/workflows/build.yml +++ b/.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