Skip to content

Commit 1b531e9

Browse files
committed
[v1.2.0] Ndjson.AsyncStreams.AspNetCore.Mvc
1 parent 3dede0d commit 1b531e9

File tree

7 files changed

+75
-3
lines changed

7 files changed

+75
-3
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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 }}

.github/workflows/cd-net-http.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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 }}

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Ndjson.AsyncStreams - Continuous Integration
1+
name: Ndjson.AsyncStreams - CI
22
on:
33
push:
44
branches:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ There are blog posts available which describe implementation details:
2020
- [Consuming JSON Objects Stream (NDJSON) With HttpClient](https://www.tpeczek.com/2020/10/consuming-json-objects-stream-ndjson.html)
2121
- [Streaming JSON Objects (NDJSON) With HttpClient](https://www.tpeczek.com/2021/05/streaming-json-objects-ndjson-with.html)
2222
- [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)
2324

2425
## Donating
2526

docs/Ndjson.AsyncStreams.DocFx/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ There are blog posts available which provide information about internals and usa
2626
- [Consuming JSON Objects Stream (NDJSON) With HttpClient](https://www.tpeczek.com/2020/10/consuming-json-objects-stream-ndjson.html)
2727
- [Streaming JSON Objects (NDJSON) With HttpClient](https://www.tpeczek.com/2021/05/streaming-json-objects-ndjson-with.html)
2828
- [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)
2930

3031
## Donating
3132

src/Ndjson.AsyncStreams.AspNetCore.Mvc.NewtonsoftJson/Ndjson.AsyncStreams.AspNetCore.Mvc.NewtonsoftJson.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<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>
55
<VersionSuffix></VersionSuffix>
66
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
77
<AssemblyTitle>Ndjson.AsyncStreams.AspNetCore.Mvc.NewtonsoftJson</AssemblyTitle>

src/Ndjson.AsyncStreams.AspNetCore.Mvc/Ndjson.AsyncStreams.AspNetCore.Mvc.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<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>
55
<VersionSuffix></VersionSuffix>
66
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
77
<AssemblyTitle>Ndjson.AsyncStreams.AspNetCore.Mvc</AssemblyTitle>

0 commit comments

Comments
 (0)