chore: potential fix for empty nupkg
All checks were successful
All checks were successful
This commit is contained in:
parent
d330242470
commit
a3dee6d3e9
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue