File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 2929 uses : actions/upload-artifact@v4
3030 with :
3131 name : build-output
32- path : src/Otel4Vsix/bin/Release/
32+ path : src/CodingWithCalvin. Otel4Vsix/bin/Release/net48
3333 retention-days : 7
Original file line number Diff line number Diff line change 1717
1818 permissions :
1919 contents : write
20+ id-token : write
2021
2122 steps :
2223 - name : Checkout
5758 ./nupkg/*.nupkg
5859 ./nupkg/*.snupkg
5960
61+ # Get a short-lived NuGet API key
62+ - name : NuGet login (OIDC → temp API key)
63+ uses : NuGet/login@v1
64+ id : login
65+ with :
66+ user : ${{ secrets.NUGET_USERNAME }}
67+
6068 - name : Push to NuGet
61- run : dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets. NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
69+ run : dotnet nuget push ./nupkg/*.nupkg --api-key ${{steps.login.outputs. NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate
You can’t perform that action at this time.
0 commit comments