Skip to content

Commit 25d29bf

Browse files
authored
Update release.yml
1 parent 57ad5ed commit 25d29bf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,14 @@ jobs:
7171
- name: Build and pack
7272
run: dotnet pack dotMap/dotMap.csproj -c Release
7373

74+
- 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 --skip-duplicate
76+
7477
- name: Publish artifacts
7578
uses: actions/upload-artifact@v4
7679
with:
77-
name: NuGet packages
78-
path: dotMap/**/*.nupkg
80+
name: NuGet package
81+
path: dotMap/bin/Release/dotMap.${{env.release-version}}.nupkg
7982

8083
- name: Save and push the new version
8184
run: |

0 commit comments

Comments
 (0)