File tree Expand file tree Collapse file tree 3 files changed +19
-7
lines changed
Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,16 @@ jobs:
4343 run : dotnet pack SWEN3.Paperless.RabbitMq/SWEN3.Paperless.RabbitMq.csproj --configuration Release --no-build --output ./nupkg -p:GeneratePackageOnBuild=false
4444
4545 - name : NuGet login (OIDC → temp API key)
46- uses : NuGet/login@v1
4746 id : login
47+ if : github.event_name == 'release' || github.event_name == 'workflow_dispatch'
48+ uses : NuGet/login@v1
49+ with :
50+ user : ${{ secrets.NUGET_USER }}
4851
4952 - name : Publish packages to NuGet.org (Trusted Publishing)
5053 if : github.event_name == 'release' || github.event_name == 'workflow_dispatch'
51- env :
52- NUGET_AUTH_TOKEN : ${{ steps.login.outputs.NUGET_AUTH_TOKEN }}
5354 run : |
5455 dotnet nuget push ./nupkg/*.nupkg \
5556 --source https://api.nuget.org/v3/index.json \
56- --api-key "$NUGET_AUTH_TOKEN " \
57+ --api-key "${{ steps.login.outputs.NUGET_API_KEY }} " \
5758 --skip-duplicate
Original file line number Diff line number Diff line change 11[ ![ codecov] ( https://codecov.io/gh/ANcpLua/SWEN3.Paperless.RabbitMq/branch/main/graph/badge.svg?token=lgxIXBnFrn )] ( https://codecov.io/gh/ANcpLua/SWEN3.Paperless.RabbitMq )
22[ ![ .NET 10] ( https://img.shields.io/badge/.NET-10.0-7C3AED )] ( https://dotnet.microsoft.com/download/dotnet/10.0 ) [ ![ .NET 9] ( https://img.shields.io/badge/-9.0-6366F1 )] ( https://dotnet.microsoft.com/download/dotnet/9.0 ) [ ![ .NET 8] ( https://img.shields.io/badge/-8.0-512BD4 )] ( https://dotnet.microsoft.com/download/dotnet/8.0 )
33[ ![ NuGet] ( https://img.shields.io/nuget/v/SWEN3.Paperless.RabbitMq?label=NuGet&color=0891B2 )] ( https://www.nuget.org/packages/SWEN3.Paperless.RabbitMq/ )
4- [ ![ License] ( https://img.shields.io/badge/License-MIT-blue.svg )] ( https://github.com/ANcpLua/SWEN3.Paperless.RabbitMq/blob/main/LICENSE )
4+ [ ![ License] ( https://img.shields.io/badge/License-MIT-blue.svg )] (Microsoft.Extensions.Http.Resilience (>= 10.0.0) https://github.com/ANcpLua/SWEN3.Paperless.RabbitMq/blob/main/LICENSE )
55
66[ ![ Star this repo] ( https://img.shields.io/github/stars/ANcpLua/SWEN3.Paperless.RabbitMq?style=social )] ( https://github.com/ANcpLua/SWEN3.Paperless.RabbitMq/stargazers )
77
Original file line number Diff line number Diff line change 88
99 <PackageId >SWEN3.Paperless.RabbitMq</PackageId >
1010 <Title >SWEN3.Paperless.RabbitMq - RabbitMQ Messaging with SSE Streaming & AI Summarization</Title >
11- <Version >2.1.0 </Version >
11+ <Version >2.1.1 </Version >
1212 <Authors >Alexander Nachtmann</Authors >
1313 <Copyright >Copyright © 2025 Alexander Nachtmann</Copyright >
1414
4545 </PropertyGroup >
4646
4747 <ItemGroup >
48- <PackageReference Include =" Microsoft.Extensions.Http.Resilience" Version =" 10.0.0" />
4948 <PackageReference Include =" RabbitMQ.Client" Version =" 7.2.0" />
5049 </ItemGroup >
5150
51+ <ItemGroup Condition =" '$(TargetFramework)' == 'net8.0'" >
52+ <PackageReference Include =" Microsoft.Extensions.Http.Resilience" Version =" 8.10.0" />
53+ </ItemGroup >
54+
55+ <ItemGroup Condition =" '$(TargetFramework)' == 'net9.0'" >
56+ <PackageReference Include =" Microsoft.Extensions.Http.Resilience" Version =" 9.10.0" />
57+ </ItemGroup >
58+
59+ <ItemGroup Condition =" '$(TargetFramework)' == 'net10.0'" >
60+ <PackageReference Include =" Microsoft.Extensions.Http.Resilience" Version =" 10.0.0" />
61+ </ItemGroup >
62+
5263 <ItemGroup >
5364 <FrameworkReference Include =" Microsoft.AspNetCore.App" />
5465 </ItemGroup >
You can’t perform that action at this time.
0 commit comments