File tree Expand file tree Collapse file tree
CSharpFunctionalExtensions.HttpResults Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 run : dotnet build -c Release --no-restore
4343
4444 - name : Pack
45- run : dotnet pack ./CSharpFunctionalExtensions.HttpResults/CSharpFunctionalExtensions.HttpResults.csproj -c Release -p:Version=0.0.0 --output dist/package
45+ run : dotnet pack ./CSharpFunctionalExtensions.HttpResults/CSharpFunctionalExtensions.HttpResults.csproj -c Release -p:ContinuousIntegrationBuild=true -p: Version=0.0.0 --output dist/package
4646
4747 - name : Lint
4848 run : dotnet csharpier --check .
Original file line number Diff line number Diff line change 5151 echo "VERSION=$VERSION" >> $GITHUB_ENV
5252
5353 - name : Pack
54- run : dotnet pack ./CSharpFunctionalExtensions.HttpResults/CSharpFunctionalExtensions.HttpResults.csproj -c Release -p:Version=${{ env.VERSION }} --output dist/package
54+ run : dotnet pack ./CSharpFunctionalExtensions.HttpResults/CSharpFunctionalExtensions.HttpResults.csproj -c Release -p:ContinuousIntegrationBuild=true -p: Version=${{ env.VERSION }} --output dist/package
5555
5656 - name : Upload package artifact
5757 uses : actions/upload-artifact@v4
6868 file_glob : true
6969 overwrite : true
7070
71- - name : Push to NuGet
71+ - name : Push package to NuGet
7272 run : dotnet nuget push "dist/package/*.${{ env.VERSION }}.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json
73+
74+ - name : Push symbol package to NuGet
75+ run : dotnet nuget push "dist/package/*.${{ env.VERSION }}.snupkg" --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change 2020 <IncludeBuildOutput >false</IncludeBuildOutput >
2121 </PropertyGroup >
2222
23+ <PropertyGroup >
24+ <EmbedUntrackedSources >true</EmbedUntrackedSources >
25+ <PublishRepositoryUrl >true</PublishRepositoryUrl >
26+ <IncludeSymbols >true</IncludeSymbols >
27+ <SymbolPackageFormat >snupkg</SymbolPackageFormat >
28+ </PropertyGroup >
29+
2330 <ItemGroup >
2431 <None Include =" ..\README.md" Pack =" true" PackagePath =" \" />
2532 <None Include =" ..\LICENSE.md" Pack =" true" PackagePath =" \" />
You can’t perform that action at this time.
0 commit comments