chore: potential fix for empty nupkg
All checks were successful
Release Rai.PacketMediator / preprocess (push) Successful in 2s
Release Rai.PacketMediator / build (push) Successful in 19s
Release Rai.PacketMediator / publish (push) Successful in 21s
Release Rai.PacketMediator / generate-licences (push) Successful in 32s

This commit is contained in:
Timothy Schenk 2024-02-08 13:45:41 +01:00
parent d330242470
commit a3dee6d3e9
2 changed files with 5 additions and 1 deletions

View file

@ -49,7 +49,7 @@ jobs:
echo "VERSION=$VERSION" >> $GITHUB_ENV echo "VERSION=$VERSION" >> $GITHUB_ENV
shell: bash shell: bash
- name: Pack nugets - name: Pack nugets
run: dotnet build -p:PackageVersion=${{env.VERSION}} -c Release --output . run: dotnet build -p:PackageVersion=${{env.VERSION}} --output .
- name: Push to NuGet - name: Push to NuGet
run: | run: |
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

View file

@ -6,6 +6,10 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild> <GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageVersion>$(PackageVersion)</PackageVersion> <PackageVersion>$(PackageVersion)</PackageVersion>
<PackageProjectUrl>https://forge.rainote.dev/rainote/PacketMediator</PackageProjectUrl>
<PackageLicenseUrl>https://forge.rainote.dev/rainote/PacketMediator/src/branch/main/LICENSE</PackageLicenseUrl>
<RepositoryUrl>https://forge.rainote.dev/rainote/PacketMediator</RepositoryUrl>
<RepositoryType>GIT</RepositoryType>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>