File tree Expand file tree Collapse file tree 7 files changed +75
-3
lines changed
docs/Ndjson.AsyncStreams.DocFx
Ndjson.AsyncStreams.AspNetCore.Mvc.NewtonsoftJson
Ndjson.AsyncStreams.AspNetCore.Mvc Expand file tree Collapse file tree 7 files changed +75
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Ndjson.AsyncStreams.AspNetCore.Mvc - CD
2
+ on :
3
+ push :
4
+ tags :
5
+ - " aspnetcore-mvc-v[0-9]+.[0-9]+.[0-9]+"
6
+ jobs :
7
+ build :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Checkout
11
+ uses : actions/checkout@v2
12
+ - name : Extract VERSION
13
+ run : echo "VERSION=${GITHUB_REF/refs\/tags\/aspnetcore-mvc-v/}" >> $GITHUB_ENV
14
+ - name : Setup .NET Core 3.1 SDK
15
+ uses : actions/setup-dotnet@v1
16
+ with :
17
+ dotnet-version : ' 3.1.x'
18
+ - name : Setup .NET 5.0 SDK
19
+ uses : actions/setup-dotnet@v1
20
+ with :
21
+ dotnet-version : ' 5.0.x'
22
+ - name : Restore
23
+ run : dotnet restore
24
+ - name : Build
25
+ run : dotnet build --configuration Release --no-restore
26
+ - name : Test
27
+ run : dotnet test --configuration Release --no-build
28
+ - name : Pack
29
+ run : dotnet pack --configuration Release --no-build
30
+ - name : NuGet Push Ndjson.AsyncStreams.AspNetCore.Mvc
31
+ run : dotnet nuget push Ndjson.AsyncStreams.AspNetCore.Mvc.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
32
+ env :
33
+ NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
34
+ - name : NuGet Push Ndjson.AsyncStreams.AspNetCore.Mvc.NewtonsoftJson
35
+ run : dotnet nuget push Ndjson.AsyncStreams.AspNetCore.Mvc.NewtonsoftJson.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
36
+ env :
37
+ NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
Original file line number Diff line number Diff line change
1
+ name : Ndjson.AsyncStreams.Net.Http - CD
2
+ on :
3
+ push :
4
+ tags :
5
+ - " net-http-v[0-9]+.[0-9]+.[0-9]+"
6
+ jobs :
7
+ build :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Checkout
11
+ uses : actions/checkout@v2
12
+ - name : Extract VERSION
13
+ run : echo "VERSION=${GITHUB_REF/refs\/tags\/net-http-v/}" >> $GITHUB_ENV
14
+ - name : Setup .NET Core 3.1 SDK
15
+ uses : actions/setup-dotnet@v1
16
+ with :
17
+ dotnet-version : ' 3.1.x'
18
+ - name : Setup .NET 5.0 SDK
19
+ uses : actions/setup-dotnet@v1
20
+ with :
21
+ dotnet-version : ' 5.0.x'
22
+ - name : Restore
23
+ run : dotnet restore
24
+ - name : Build
25
+ run : dotnet build --configuration Release --no-restore
26
+ - name : Test
27
+ run : dotnet test --configuration Release --no-build
28
+ - name : Pack
29
+ run : dotnet pack --configuration Release --no-build
30
+ - name : NuGet Push Ndjson.AsyncStreams.Net.Http
31
+ run : dotnet nuget push Ndjson.AsyncStreams.Net.Http.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
32
+ env :
33
+ NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
Original file line number Diff line number Diff line change 1
- name : Ndjson.AsyncStreams - Continuous Integration
1
+ name : Ndjson.AsyncStreams - CI
2
2
on :
3
3
push :
4
4
branches :
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ There are blog posts available which describe implementation details:
20
20
- [ Consuming JSON Objects Stream (NDJSON) With HttpClient] ( https://www.tpeczek.com/2020/10/consuming-json-objects-stream-ndjson.html )
21
21
- [ Streaming JSON Objects (NDJSON) With HttpClient] ( https://www.tpeczek.com/2021/05/streaming-json-objects-ndjson-with.html )
22
22
- [ Receiving JSON Objects Stream (NDJSON) in ASP.NET Core MVC] ( https://www.tpeczek.com/2021/05/receiving-json-objects-stream-ndjson-in.html )
23
+ - [ ASP.NET Core 6 and IAsyncEnumerable - Async Streamed JSON vs NDJSON] ( https://www.tpeczek.com/2021/07/aspnet-core-6-and-iasyncenumerable.html )
23
24
24
25
## Donating
25
26
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ There are blog posts available which provide information about internals and usa
26
26
- [ Consuming JSON Objects Stream (NDJSON) With HttpClient] ( https://www.tpeczek.com/2020/10/consuming-json-objects-stream-ndjson.html )
27
27
- [ Streaming JSON Objects (NDJSON) With HttpClient] ( https://www.tpeczek.com/2021/05/streaming-json-objects-ndjson-with.html )
28
28
- [ Receiving JSON Objects Stream (NDJSON) in ASP.NET Core MVC] ( https://www.tpeczek.com/2021/05/receiving-json-objects-stream-ndjson-in.html )
29
+ - [ ASP.NET Core 6 and IAsyncEnumerable - Async Streamed JSON vs NDJSON] ( https://www.tpeczek.com/2021/07/aspnet-core-6-and-iasyncenumerable.html )
29
30
30
31
## Donating
31
32
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<Description >Ndjson.AsyncStreams.AspNetCore.Mvc is a solution for working with asynchronous streaming data sources in ASP.NET Core MVC using NDJSON (Newline Delimited JSON). This implementation is based on Newtonsoft Json.NET serializer.</Description >
4
- <VersionPrefix >1.1 .0</VersionPrefix >
4
+ <VersionPrefix >1.2 .0</VersionPrefix >
5
5
<VersionSuffix ></VersionSuffix >
6
6
<TargetFrameworks >netcoreapp3.1;net5.0</TargetFrameworks >
7
7
<AssemblyTitle >Ndjson.AsyncStreams.AspNetCore.Mvc.NewtonsoftJson</AssemblyTitle >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<Description >Ndjson.AsyncStreams.AspNetCore.Mvc is a solution for working with asynchronous streaming data sources in ASP.NET Core MVC using NDJSON (Newline Delimited JSON).</Description >
4
- <VersionPrefix >1.1 .0</VersionPrefix >
4
+ <VersionPrefix >1.2 .0</VersionPrefix >
5
5
<VersionSuffix ></VersionSuffix >
6
6
<TargetFrameworks >netcoreapp3.1;net5.0</TargetFrameworks >
7
7
<AssemblyTitle >Ndjson.AsyncStreams.AspNetCore.Mvc</AssemblyTitle >
You can’t perform that action at this time.
0 commit comments