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