From 244a15f35db74d0b1f627c36b39c8a7beee555c3 Mon Sep 17 00:00:00 2001 From: hn-88 Date: Fri, 15 Dec 2023 09:35:47 +0530 Subject: [PATCH] checking if we can have long filenames for the upload using double quotes --- .github/workflows/msbuild.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 359b32a..4da7cf2 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -53,7 +53,9 @@ jobs: working-directory: ${{env.GITHUB_WORKSPACE}} # Add additional options to the MSBuild command line here (like platform or verbosity level). # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference - run: msbuild /m /p:Platform=x64 /p:Configuration=Release ${{env.SOLUTION_FILE_PATH}} + run: | + msbuild /m /p:Platform=x64 /p:Configuration=Release ${{env.SOLUTION_FILE_PATH}} + rename x64\Release\x64Win10.exe "x64\Release\pan2fulldome-1.10-x64Win10.exe" - name: Upload a Build Artifact uses: actions/upload-artifact@v3.1.2 @@ -62,7 +64,7 @@ jobs: name: pan2fulldomeWin10 # optional, default is artifact # A file, directory or wildcard pattern that describes what to upload - path: x64\Release\x64Win10.exe + path: "x64\Release\pan2fulldome-1.10-x64Win10.exe" # The desired behavior if no files are found using the provided path. #Available Options: # warn: Output a warning but do not fail the action