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 43493c4 commit f5b3b59Copy full SHA for f5b3b59
.github/workflows/release.yml
@@ -75,6 +75,7 @@ jobs:
75
needs: sign
76
permissions:
77
contents: write
78
+ id-token: write
79
steps:
80
- uses: actions/setup-dotnet@v5
81
with:
@@ -90,9 +91,15 @@ jobs:
90
91
name: bin
92
path: drop/bin
93
94
+ - name: NuGet login
95
+ uses: NuGet/login@v1
96
+ id: nuget-login
97
+ with:
98
+ user: ${{ secrets.NUGET_USER }}
99
+
100
- name: Publish NuGet packages
101
run: |
- dotnet nuget push drop/nuget/*.nupkg --api-key "${{ secrets.NUGET_KEY }}" --skip-duplicate --source https://api.nuget.org/v3/index.json
102
+ dotnet nuget push drop/nuget/*.nupkg --api-key "${{ steps.nuget-login.outputs.NUGET_API_KEY }}" --skip-duplicate --source https://api.nuget.org/v3/index.json
103
104
- name: Upload GitHub release
105
0 commit comments