Skip to content

Commit 40c920c

Browse files
committed
build: update ms build output directory
1 parent c5d0d69 commit 40c920c

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

.github/workflows/msbuild.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -49,28 +49,28 @@ jobs:
4949
runs-on: windows-latest
5050

5151
steps:
52-
- uses: actions/checkout@v3
52+
- uses: actions/checkout@v3
5353

54-
- name: Add MSBuild to PATH
55-
uses: microsoft/setup-msbuild@v1
54+
- name: Add MSBuild to PATH
55+
uses: microsoft/setup-msbuild@v1
5656

57-
- name: Build
58-
working-directory: ${{env.GITHUB_WORKSPACE}}
59-
# Add additional options to the MSBuild command line here (like platform or verbosity level).
60-
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
61-
run: msbuild /m /p:Configuration="${{inputs.build_configuration}}" ${{env.SOLUTION_FILE_PATH}}
57+
- name: Build
58+
working-directory: ${{env.GITHUB_WORKSPACE}}
59+
# Add additional options to the MSBuild command line here (like platform or verbosity level).
60+
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
61+
run: msbuild /m /p:Configuration="${{inputs.build_configuration}}" ${{env.SOLUTION_FILE_PATH}}
6262

63-
- name: Determine executable name
64-
id: executable_name
65-
if: ${{inputs.upload_artefacts}}
66-
run: |
67-
echo "EXECUTABLE_NAME=${{ fromJson(env.NAME_MAPPING)[inputs.build_configuration] }}" >> "$GITHUB_OUTPUT"
68-
shell: bash
63+
- name: Determine executable name
64+
id: executable_name
65+
if: ${{inputs.upload_artefacts}}
66+
run: |
67+
echo "EXECUTABLE_NAME=${{ fromJson(env.NAME_MAPPING)[inputs.build_configuration] }}" >> "$GITHUB_OUTPUT"
68+
shell: bash
6969

70-
- name: Upload Artifact
71-
if: ${{inputs.upload_artefacts}}
72-
uses: actions/upload-artifact@v3
73-
with:
74-
name: ${{ steps.executable_name.outputs.EXECUTABLE_NAME }}
75-
path: D:/a/Cortex-Command-Community-Project-Source/Cortex-Command-Community-Project-Data/${{ steps.executable_name.outputs.EXECUTABLE_NAME }}
76-
if-no-files-found: error
70+
- name: Upload Artifact
71+
if: ${{inputs.upload_artefacts}}
72+
uses: actions/upload-artifact@v3
73+
with:
74+
name: ${{ steps.executable_name.outputs.EXECUTABLE_NAME }}
75+
path: D:/a/Cortex-Command-Community-Project/${{ steps.executable_name.outputs.EXECUTABLE_NAME }}
76+
if-no-files-found: error

RTEA.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<PlatformToolset Condition="'$(VisualStudioVersion)'=='17.0'">v143</PlatformToolset>
5353
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
5454
<IntDir>_Bin\$(Platform)\$(Configuration)\</IntDir>
55-
<OutDir>..\Cortex-Command-Community-Project-Data\</OutDir>
55+
<OutDir>.\</OutDir>
5656
<GenerateManifest>true</GenerateManifest>
5757
<EmbedManifest>true</EmbedManifest>
5858
<EnableUnitySupport>true</EnableUnitySupport>

0 commit comments

Comments
 (0)