Skip to content

Commit a2a54c8

Browse files
committed
fix git flow
1 parent 481e0e1 commit a2a54c8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/dotnet-desktop.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)