chore: potential fix for empty nupkg
All checks were successful
All checks were successful
This commit is contained in:
parent
d330242470
commit
673e0a1e8a
2 changed files with 8 additions and 2 deletions
|
@ -49,7 +49,9 @@ 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 Rai.PacketMediator.csproj -c Release -p:PackageVersion=${{env.VERSION}}
|
||||||
|
dotnet pack -c Release -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
|
||||||
|
|
|
@ -4,8 +4,12 @@
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<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>
|
||||||
|
<Version>$(PackageVersion)</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
Loading…
Reference in a new issue