Skip to content

Commit 9b56974

Browse files
committed
Including Debug Symbols within the main NuGet Package
1 parent afb9b60 commit 9b56974

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

.github/workflows/main.yml

+13-7
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,22 @@ jobs:
5252
# Step 7 - Push the Package to GitHub Packages
5353
- name: Push the Package to GitHub Packages
5454
if: ${{ startsWith(github.ref, 'refs/tags/') }}
55-
run: dotnet nuget push "${{ env.PROJECT_NAME }}/bin/Release/*.nupkg" -k ${{ secrets.GH_ACTIONS_PAT }} -s "https://nuget.pkg.github.com/ricado-group/index.json"
55+
run: dotnet nuget push "${{ env.PROJECT_NAME }}/bin/Release/*.nupkg" -k ${{ secrets.GH_ACTIONS_PAT }} -s "https://nuget.pkg.github.com/ricado-group/index.json" --skip-duplicate
5656

5757
# Step 8 - Push the Package to NuGet
5858
- name: Push the Package to Nuget
5959
if: ${{ startsWith(github.ref, 'refs/tags/') }}
60-
run: dotnet nuget push "${{ env.PROJECT_NAME }}/bin/Release/*.nupkg" -k ${{ secrets.NUGET_APIKEY }} -s "https://api.nuget.org/v3/index.json"
60+
run: dotnet nuget push "${{ env.PROJECT_NAME }}/bin/Release/*.nupkg" -k ${{ secrets.NUGET_APIKEY }} -s "https://api.nuget.org/v3/index.json" --skip-duplicate
6161

62-
# Step 9 - Create New Release
62+
# Step 9 - Generate the Changelog
63+
- name: Generate the Changelog
64+
id: changelog
65+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
66+
uses: metcalfc/[email protected]
67+
with:
68+
myToken: ${{ secrets.GITHUB_TOKEN }}
69+
70+
# Step 10 - Create New Release
6371
- name: Create New Release
6472
id: create-release
6573
if: ${{ startsWith(github.ref, 'refs/tags/') }}
@@ -68,8 +76,6 @@ jobs:
6876
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6977
with:
7078
tag_name: ${{ env.CI_REF_NAME }}
71-
release_name: ${{ env.PROJECT_NAME }} ${{ env.CI_REF_NAME }}
79+
release_name: Version ${{ env.CI_REF_NAME }}
7280
body: |
73-
${{ env.PROJECT_NAME }} Version ${{ env.CI_REF_NAME }}
74-
75-
Built Automatically with :heart: using GitHub Actions
81+
${{ steps.changelog.outputs.changelog }}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# dotnet-configuration
1+
# RICADO.Configuration
22
A Configuration Provider for .NET 5 Applications

RICADO.Configuration/RICADO.Configuration.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
<Authors>RICADO Group</Authors>
66
<Company>RICADO Group LP</Company>
77
<Description>A Configuration Provider for .NET 5 Applications</Description>
8-
<Copyright>Copyright © RICADO Group LP 2009 - 2020</Copyright>
8+
<Copyright>Copyright © RICADO Group LP 2009 - 2021</Copyright>
99
<RepositoryUrl>https://github.com/ricado-group/dotnet-configuration</RepositoryUrl>
1010
<PackageIcon>packageIcon.png</PackageIcon>
1111
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1212
<IncludeSymbols>true</IncludeSymbols>
1313
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
14+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
1415
</PropertyGroup>
1516

1617
<ItemGroup>

0 commit comments

Comments
 (0)