chore: get pack working
This commit is contained in:
@@ -50,7 +50,7 @@ jobs:
|
||||
run: dotnet test --configuration Release --no-build --verbosity normal
|
||||
- name: Pack
|
||||
if: steps.version.outputs.VERSION
|
||||
run: dotnet pack --configuration Release --no-build --output ./artifacts /p:PackageVersion=${{ steps.version.outputs.VERSION }}
|
||||
run: dotnet pack --configuration Release --no-build --output ./artifacts
|
||||
- name: Push to NuGet
|
||||
if: steps.version.outputs.VERSION
|
||||
run: dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
<Authors>Stevan Freeborn</Authors>
|
||||
<Description>A minimalistic, AOT-compatible Result type library for railway-oriented programming and functional error handling.</Description>
|
||||
<PackageTags>result;railway;functional;error-handling;discriminated-union</PackageTags>
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<PackageProjectUrl>https://gitea.freeborn.cloud/Stevan/stevanfreeborn.results</PackageProjectUrl>
|
||||
<RepositoryUrl>https://gitea.freeborn.cloud/Stevan/stevanfreeborn.results</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
@@ -19,13 +18,12 @@
|
||||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||||
<IncludeSymbols>true</IncludeSymbols>
|
||||
<DebugType>embedded</DebugType>
|
||||
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\README.md" Link="README.md" />
|
||||
<None Include="..\..\LICENSE.md" Link="LICENSE.md" />
|
||||
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
|
||||
<None Include="..\..\LICENSE.md" Pack="true" PackagePath="\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.SourceLink.Gitea">
|
||||
|
||||
Reference in New Issue
Block a user