File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : .NET
1+ name : Code Validation
22
33on :
44 push :
@@ -12,14 +12,14 @@ jobs:
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - uses : actions/checkout@v2
16- - name : Setup .NET
17- uses : actions/setup-dotnet@v1
18- with :
19- dotnet-version : 5.0.x
20- - name : Restore dependencies
21- run : dotnet restore
22- - name : Build
23- run : dotnet build --no-restore
24- - name : Test
25- run : dotnet test --no-build --verbosity normal
15+ - uses : actions/checkout@v2
16+ - name : Setup .NET
17+ uses : actions/setup-dotnet@v1
18+ with :
19+ dotnet-version : 5.0.x
20+ - name : Restore dependencies
21+ run : dotnet restore
22+ - name : Build
23+ run : dotnet build --no-restore
24+ - name : Test
25+ run : dotnet test --no-build --verbosity normal
Original file line number Diff line number Diff line change 1+ name : Publish NuGet Packages
12on :
23 workflow_dispatch :
34 inputs :
1920 dotnet-version : 5.0.x
2021
2122 - name : Publish Net50
22- id : publish_nuget
23+ id : publish_nuget_net50
2324 uses : rohith/publish-nuget@v2
2425 with :
2526 # Filepath of the project to be packaged, relative to root of repository
2930 NUGET_KEY : ${{secrets.NUGET_API_KEY}}
3031
3132 - name : Publish NetCoreApp31
32- id : publish_nuget
33+ id : publish_nuget_netcoreapp31
3334 uses : rohith/publish-nuget@v2
3435 with :
3536 # Filepath of the project to be packaged, relative to root of repository
3940 NUGET_KEY : ${{secrets.NUGET_API_KEY}}
4041
4142 - name : Publish NetStandard20
42- id : publish_nuget
43+ id : publish_nuget_netstandard20
4344 uses : rohith/publish-nuget@v2
4445 with :
4546 # Filepath of the project to be packaged, relative to root of repository
You can’t perform that action at this time.
0 commit comments