Skip to content

Commit 033c7d8

Browse files
committed
Fix build workflow
1 parent a59997a commit 033c7d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ jobs:
3535

3636
# Restore dependencies for entire solution
3737
- name: Restore dependencies
38-
run: dotnet restore ${{ env.Solution_Path }}
38+
run: msbuild restore ${{ env.Solution_Path }}
3939

4040
# Build the entire solution
4141
- name: Build
42-
run: dotnet build ${{ env.Solution_Path }} --configuration Release
42+
run: msbuild ${{ env.Solution_Path }} /p:Configuration=Release
4343

4444
# Execute all unit tests in the solution
4545
- name: Execute unit tests
46-
run: dotnet test ${{ env.Solution_Path }} --configuration Release --no-build
46+
run: msbuild ${{ env.Solution_Path }} /p:Configuration=Release /t:Test
4747

4848
# Run the build task
4949
- name: Run build task
50-
run: dotnet run --project ${{ env.Project_Path }}
50+
run: msbuild ${{ env.Project_Path }} /p:Configuration=Release
5151

5252
# Upload the Build package
5353
- name: Upload Build package

0 commit comments

Comments
 (0)