From 5c6f91ffeff78edc4cdfee9acde56ada5900b636 Mon Sep 17 00:00:00 2001 From: hn-88 Date: Fri, 15 Dec 2023 10:07:17 +0530 Subject: [PATCH] Wow - 2nd arg should be only name and not path https://stackoverflow.com/questions/29636103/rename-fails-because-it-represents-a-path-or-device-name --- .github/workflows/msbuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index de3f31b..2c430f7 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -55,7 +55,7 @@ jobs: # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference run: | msbuild /m /p:Platform=x64 /p:Configuration=Release ${{env.SOLUTION_FILE_PATH}} - Rename-Item "x64\Release\x64Win10.exe" -NewName "x64\Release\pan2fulldome-1.10-x64Win10.exe" + Rename-Item "x64\Release\x64Win10.exe" -NewName "pan2fulldome-1.10-x64Win10.exe" - name: Upload a Build Artifact uses: actions/upload-artifact@v3.1.2