We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e19e0ac commit 242a2dfCopy full SHA for 242a2df
1 file changed
.github/workflows/publish-nuget.yml
@@ -63,12 +63,18 @@ jobs:
63
64
- name: List artifacts
65
run: ls -la ./artifacts
66
+
67
+ - name: NuGet login (OIDC → temp API key)
68
+ uses: NuGet/login@v1
69
+ id: login
70
+ with:
71
+ user: makutamiserix
72
73
- name: Publish to NuGet.org
74
run: |
75
dotnet nuget push ./artifacts/*.nupkg \
- --api-key ${{ secrets.NUGET_API_KEY }} \
- --source ${{ env.NUGET_SOURCE }} \
76
+ --api-key ${{steps.login.outputs.NUGET_API_KEY}} \
77
+ --source https://api.nuget.org/v3/index.json \
78
--skip-duplicate
79
80
- name: Upload artifacts
0 commit comments