File tree Expand file tree Collapse file tree 3 files changed +48
-35
lines changed Expand file tree Collapse file tree 3 files changed +48
-35
lines changed Original file line number Diff line number Diff line change
1
+ name : .NET Core Desktop
2
+
3
+ on :
4
+ push :
5
+ branches : [ "develop" ]
6
+ pull_request :
7
+ branches : [ "develop" ]
8
+
9
+ jobs :
10
+
11
+ build :
12
+
13
+ strategy :
14
+ matrix :
15
+ configuration : [Debug, Release]
16
+
17
+ runs-on : windows-latest
18
+
19
+ env :
20
+ Solution_Name : OA.sln
21
+ Test_Project_Path : ./src
22
+
23
+ steps :
24
+ - name : Checkout
25
+ uses : actions/checkout@v4
26
+ with :
27
+ fetch-depth : 0
28
+
29
+ # Install the .NET Core workload
30
+ - name : Install .NET Core
31
+ uses : actions/setup-dotnet@v4
32
+ with :
33
+ dotnet-version : 8.0.x
34
+
35
+ # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
36
+ - name : Setup MSBuild.exe
37
+ uses : microsoft/setup-msbuild@v2
38
+
39
+ # Execute all unit tests in the solution
40
+ - name : Execute unit tests
41
+ run : dotnet test
42
+
43
+ # Restore the application to populate the obj folder with RuntimeIdentifiers
44
+ - name : Restore the application
45
+ run : msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
46
+ env :
47
+ Configuration : ${{ matrix.configuration }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5
5
6
6
----
7
7
8
- ![ .NET Core] ( https://github.com/Amitpnk/Onion-architecture-ASP.NET-Core/workflows/.NET/badge.svg )
8
+ ![ .NET Core] ( https://github.com/Amitpnk/Onion-architecture-ASP.NET-Core/workflows/.NET%20Core%20Desktop /badge.svg )
9
9
[ ![ Bugs] ( https://sonarcloud.io/api/project_badges/measure?project=Amitpnk_Onion-architecture-ASP.NET-Core&metric=bugs )] ( https://sonarcloud.io/dashboard?id=Amitpnk_Onion-architecture-ASP.NET-Core )
10
10
[ ![ Code Smells] ( https://sonarcloud.io/api/project_badges/measure?project=Amitpnk_Onion-architecture-ASP.NET-Core&metric=code_smells )] ( https://sonarcloud.io/dashboard?id=Amitpnk_Onion-architecture-ASP.NET-Core )
11
11
[ ![ Duplicated Lines (%)] ( https://sonarcloud.io/api/project_badges/measure?project=Amitpnk_Onion-architecture-ASP.NET-Core&metric=duplicated_lines_density )] ( https://sonarcloud.io/dashboard?id=Amitpnk_Onion-architecture-ASP.NET-Core )
You can’t perform that action at this time.
0 commit comments