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
22
33on :
44 push :
5- branches : [ v2 ]
5+ branches : [ '**' ]
66 pull_request :
7- branches : [ v2 ]
7+ branches : [ '**' ]
8+ # Allows you to run this workflow manually from the Actions tab
9+ workflow_dispatch :
810
911jobs :
1012 build :
@@ -14,12 +16,14 @@ jobs:
1416 steps :
1517 - uses : actions/checkout@v2
1618 - name : Setup .NET Core
17- uses : actions/setup-dotnet@v1
19+ uses : actions/setup-dotnet@v4
1820 with :
19- dotnet-version : 3.1.301
21+ dotnet-version : |
22+ 3.1.x
23+ 5.0.x
2024 - name : Install dependencies
21- run : dotnet restore
25+ run : dotnet restore src/GeoJSON.Net.sln
2226 - name : Build
23- run : dotnet build --configuration Release --no-restore
27+ run : dotnet build src/GeoJSON.Net.sln --configuration Release --no-restore
2428 - 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