File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a .NET project
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3
+
4
+ name : .NET
5
+
6
+ on :
7
+ push :
8
+ branches : [ "master" ]
9
+ pull_request :
10
+ branches : [ "master" ]
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : windows-latest
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+
18
+ - name : Setup .NET
19
+ uses : actions/setup-dotnet@v4
20
+
21
+ - name : Setup NuGet
22
+ uses : NuGet/setup-nuget@v2.0.0
23
+
24
+ - name : Restore NuGet packages
25
+ run : nuget restore BAPlugin.sln
26
+
27
+ - name : Restore dependencies
28
+ run : dotnet restore
29
+
30
+ - name : Build
31
+ run : dotnet build --no-restore
32
+
33
+ - name : Test
34
+ run : dotnet test --no-build --verbosity normal
35
+
You can’t perform that action at this time.
0 commit comments