File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-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 : WeixinAuth
5
+
6
+ on :
7
+ push :
8
+ branches : [ "master", "**.**" ]
9
+ pull_request :
10
+ branches : [ "master" ]
11
+
12
+ jobs :
13
+ build :
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+
20
+ - name : Setup .NET 7.0.x
21
+ uses : actions/setup-dotnet@v3
22
+ with :
23
+ dotnet-version : 7.0.x
24
+
25
+ - name : Setup .NET 6.0.x
26
+ uses : actions/setup-dotnet@v3
27
+ with :
28
+ dotnet-version : 6.0.x
29
+
30
+ - name : Setup .NET 5.0.x
31
+ uses : actions/setup-dotnet@v3
32
+ with :
33
+ dotnet-version : 5.0.x
34
+
35
+ - name : Setup .NET 3.1.x
36
+ uses : actions/setup-dotnet@v3
37
+ with :
38
+ dotnet-version : 3.1.x
39
+
40
+ - name : Restore dependencies
41
+ run : dotnet restore
42
+
43
+ - name : Build
44
+ run : dotnet build --no-restore
45
+
46
+ - name : Test
47
+ run : dotnet test --no-build --verbosity normal
You can’t perform that action at this time.
0 commit comments