File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,11 @@ name: Build and Tests
2
2
3
3
on :
4
4
push :
5
- branches : [ v2 ]
5
+ branches : [ '**' ]
6
6
pull_request :
7
- branches : [ v2 ]
7
+ branches : [ '**' ]
8
+ # Allows you to run this workflow manually from the Actions tab
9
+ workflow_dispatch :
8
10
9
11
jobs :
10
12
build :
@@ -14,12 +16,14 @@ jobs:
14
16
steps :
15
17
- uses : actions/checkout@v2
16
18
- name : Setup .NET Core
17
- uses : actions/setup-dotnet@v1
19
+ uses : actions/setup-dotnet@v4
18
20
with :
19
- dotnet-version : 3.1.301
21
+ dotnet-version : |
22
+ 3.1.x
23
+ 5.0.x
20
24
- name : Install dependencies
21
- run : dotnet restore
25
+ run : dotnet restore src/GeoJSON.Net.sln
22
26
- name : Build
23
- run : dotnet build --configuration Release --no-restore
27
+ run : dotnet build src/GeoJSON.Net.sln --configuration Release --no-restore
24
28
- name : Test
25
- run : dotnet test --no-restore --verbosity normal
29
+ run : dotnet test src/GeoJSON.Net.sln --no-restore --verbosity normal
You can’t perform that action at this time.
0 commit comments