Separated restore and build in two steps

This commit is contained in:
Antoine Pilote
2024-04-25 22:06:58 -04:00
committed by GitHub
parent afa075b55d
commit 64587fe227

View File

@@ -27,11 +27,17 @@ jobs:
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- name: Restore Nuget
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 -verbosity:m /m /t:Restore
- name: Build
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 -verbosity:m /m /t:Restore;Build /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
run: msbuild -verbosity:m /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
- name: Bundle Resources
run: xcopy Editor\resources bin\Release-windows-x86_64\Editor\resources /I /E