From 5e4355654aaed545c143ed7bb8cf28a34d6ff4c3 Mon Sep 17 00:00:00 2001 From: hzqst <113660872@qq.com> Date: Sun, 25 Feb 2024 19:10:08 +0800 Subject: [PATCH] 1 --- .github/workflows/msbuild.yml | 3 ++- .github/workflows/msbuild_win7.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index d617a19..feb4cdc 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -140,7 +140,8 @@ jobs: - name: Copy Build to Output working-directory: ${{env.GITHUB_WORKSPACE}} run: | - copy "node.exe" "Output" /y + for /f "delims=" %%i in ('where node') do set NODE_PATH=%%i + copy "%NODE_PATH%" "Output\node.exe" /y xcopy "build" "Output" /y /e shell: cmd diff --git a/.github/workflows/msbuild_win7.yml b/.github/workflows/msbuild_win7.yml index 833de54..dd20eec 100644 --- a/.github/workflows/msbuild_win7.yml +++ b/.github/workflows/msbuild_win7.yml @@ -140,7 +140,8 @@ jobs: - name: Copy Build to Output working-directory: ${{env.GITHUB_WORKSPACE}} run: | - copy "node.exe" "Output" /y + for /f "delims=" %%i in ('where node') do set NODE_PATH=%%i + copy "%NODE_PATH%" "Output\node.exe" /y xcopy "build" "Output" /y /e shell: cmd