Skip to content

Commit b21ede6

Browse files
authored
Add content to the nuget
1 parent cbdb3e0 commit b21ede6

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,17 @@ jobs:
7272
run: dotnet pack dotMap/dotMap.csproj -c Release
7373

7474
- name: Publish to nuget.org
75-
run: dotnet nuget push dotMap/bin/Release/dotMap.${{env.release-version}}.nupkg --api-key "${{secrets.NUGET_API_KEY}}" --source https://api.nuget.org/v3/index.json
75+
run: |
76+
dotnet nuget push dotMap/bin/Release/dotMap.${{env.release-version}}.nupkg --api-key "${{secrets.NUGET_API_KEY}}" --source https://api.nuget.org/v3/index.json
77+
dotnet nuget push dotMap/bin/Release/dotMap.${{env.release-version}}.snupkg --api-key "${{secrets.NUGET_API_KEY}}" --source https://api.nuget.org/v3/index.json
7678
7779
- name: Publish artifacts
7880
uses: actions/upload-artifact@v4
7981
with:
80-
name: NuGet package
81-
path: dotMap/bin/Release/dotMap.${{env.release-version}}.nupkg
82+
name: NuGet packages
83+
path: |
84+
dotMap/bin/Release/dotMap.${{env.release-version}}.nupkg
85+
dotMap/bin/Release/dotMap.${{env.release-version}}.snupkg
8286
8387
- name: Save and push the new version
8488
run: |

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
[![NuGet](https://img.shields.io/nuget/v/dotMap)](https://www.nuget.org/packages/dotMap)
44
[![License](https://img.shields.io/badge/LICENSE-MPL_2.0-green)](LICENSE)
5-
[![NuGet Downloads](https://img.shields.io/nuget/dt/dotMap)](https://www.nuget.org/packages/dotMap)
65

76
![Logo](docs/images/logo.png)
87

dotMap/dotMap.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
<RepositoryUrl>https://github.com/devexperts/dotMap</RepositoryUrl>
2020
<RepositoryType>git</RepositoryType>
2121
<PackageTags>dotMap mapping mapper automapper auto-mapper auto-mapping</PackageTags>
22-
<IncludeSymbols>false</IncludeSymbols>
22+
<IncludeBuildOutput>true</IncludeBuildOutput>
23+
<IncludeSymbols>true</IncludeSymbols>
24+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2325
</PropertyGroup>
2426

2527
<ItemGroup>

0 commit comments

Comments
 (0)