chore: nuget improvements
Some checks failed
Release Rai.PacketMediator / preprocess (push) Successful in 2s
Release Rai.PacketMediator / build (push) Successful in 21s
Release Rai.PacketMediator / generate-licences (push) Successful in 33s
Release Rai.PacketMediator / publish (push) Failing after 23s

This commit is contained in:
Timothy Schenk 2024-04-04 17:20:26 +02:00
parent a66cb25802
commit d27e6eb8b4
Signed by: rainote
SSH key fingerprint: SHA256:pnkNSDwpAnaip00xaZlVFHKKsS7T8UtOomMzvs0yITE
2 changed files with 6 additions and 1 deletions

View file

@ -58,6 +58,7 @@ jobs:
run: | run: |
cd RaiNote.PacketMediator cd RaiNote.PacketMediator
dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://forge.rainote.dev/api/packages/rainote/nuget/index.json dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://forge.rainote.dev/api/packages/rainote/nuget/index.json
dotnet nuget push "*.snupkg" --api-key ${{secrets.nuget_api_key}} --source https://forge.rainote.dev/api/packages/rainote/nuget/index.json
generate-licences: generate-licences:
needs: [ build, preprocess ] needs: [ build, preprocess ]

View file

@ -6,7 +6,7 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<PackageVersion>$(PackageVersion)</PackageVersion> <PackageVersion>$(PackageVersion)</PackageVersion>
<PackageProjectUrl>https://forge.rainote.dev/rainote/PacketMediator</PackageProjectUrl> <PackageProjectUrl>https://forge.rainote.dev/rainote/PacketMediator</PackageProjectUrl>
<PackageLicenseUrl>https://forge.rainote.dev/rainote/PacketMediator/src/branch/main/LICENSE</PackageLicenseUrl> <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://forge.rainote.dev/rainote/PacketMediator</RepositoryUrl> <RepositoryUrl>https://forge.rainote.dev/rainote/PacketMediator</RepositoryUrl>
<RepositoryType>GIT</RepositoryType> <RepositoryType>GIT</RepositoryType>
<Version>$(PackageVersion)</Version> <Version>$(PackageVersion)</Version>
@ -17,9 +17,13 @@
<Title>Packet Mediator</Title> <Title>Packet Mediator</Title>
<Description>A mediator specifically for packet handling when dispatching to respective packet handlers.</Description> <Description>A mediator specifically for packet handling when dispatching to respective packet handlers.</Description>
<Product>RaiNote.PacketMediator</Product> <Product>RaiNote.PacketMediator</Product>
<PackageReadmeFile>README.md</PackageReadmeFile>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<None Include="../README.md" Pack="true" PackagePath="\"/>
<PackageReference Include="DotNext" Version="5.3.1"/> <PackageReference Include="DotNext" Version="5.3.1"/>
<PackageReference Include="DotNext.Metaprogramming" Version="5.3.0"/> <PackageReference Include="DotNext.Metaprogramming" Version="5.3.0"/>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0"/> <PackageReference Include="JetBrains.Annotations" Version="2023.3.0"/>