We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ad5ed commit 25d29bfCopy full SHA for 25d29bf
.github/workflows/release.yml
@@ -71,11 +71,14 @@ jobs:
71
- name: Build and pack
72
run: dotnet pack dotMap/dotMap.csproj -c Release
73
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
+
77
- name: Publish artifacts
78
uses: actions/upload-artifact@v4
79
with:
- name: NuGet packages
- path: dotMap/**/*.nupkg
80
+ name: NuGet package
81
+ path: dotMap/bin/Release/dotMap.${{env.release-version}}.nupkg
82
83
- name: Save and push the new version
84
run: |
0 commit comments