File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 Solution_Name : TimeTask.sln
2121 Main_Project_Path : TimeTask.csproj
2222 Build_Configuration : Release
23+ Build_Platform : AnyCPU
2324 steps :
2425 - name : Checkout
2526 uses : actions/checkout@v4
@@ -28,10 +29,10 @@ jobs:
2829 uses : microsoft/setup-msbuild@v2
2930
3031 - name : Restore main project
31- run : msbuild $env:Main_Project_Path /t:Restore /p:Configuration=$env:Build_Configuration
32+ run : msbuild $env:Main_Project_Path /t:Restore /p:Configuration=$env:Build_Configuration /p:Platform=$env:Build_Platform
3233
3334 - name : Build main project
34- run : msbuild $env:Main_Project_Path /p:Configuration=$env:Build_Configuration /p:Platform="Any CPU" /m
35+ run : msbuild $env:Main_Project_Path /p:Configuration=$env:Build_Configuration /p:Platform=$env:Build_Platform /m
3536
3637 - name : Execute unit tests (optional)
3738 if : ${{ github.event_name == 'workflow_dispatch' && inputs.run_tests == true }}
You can’t perform that action at this time.
0 commit comments