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 e48fb0a commit 144830cCopy full SHA for 144830c
.github/workflows/release.yml
@@ -53,8 +53,14 @@ jobs:
53
- name: Pack
54
run: dotnet pack -p:VersionPrefix="${{ needs.version.outputs.version_3 }}" --version-suffix "${{ needs.version.outputs.version_suffix }}"
55
56
+ - name: NuGet login
57
+ uses: NuGet/login@v1
58
+ id: login
59
+ with:
60
+ user: ${{ secrets.NUGET_USER }}
61
+
62
- name: Publish
- run: dotnet nuget push "*.nupkg" --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json
63
+ run: dotnet nuget push "*.nupkg" --api-key ${{ steps.login.outputs.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
64
working-directory: .nupkgs
65
66
- name: Upload artifact to action
0 commit comments