File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 44env :
55 DOTNET_INSTALL_DIR : " ./.dotnet"
66 DOTNET_ROLL_FORWARD : " Major"
7-
7+
88jobs :
99 publish :
1010 name : ${{ matrix.taskName }}
1616
1717 env :
1818 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
19- NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
2019 CHOCOLATEY_API_KEY : ${{ secrets.CHOCOLATEY_API_KEY }}
2120 steps :
2221 -
3332 with :
3433 name : nuget
3534 path : ${{ github.workspace }}/artifacts/packages/nuget
35+
36+ -
37+ name : NuGet login (OIDC → temp API key)
38+ uses : NuGet/login@v1
39+ id : login
40+ with :
41+ user : ' gittoolsbot'
3642 -
3743 name : ' [Publish]'
3844 shell : pwsh
39- run : dotnet run/publish.dll --target=Publish${{ matrix.taskName }}
45+ env :
46+ NUGET_API_KEY : ${{ steps.login.outputs.NUGET_API_KEY }}
47+ run : dotnet run/publish.dll --target=Publish${{ matrix.taskName }}
You can’t perform that action at this time.
0 commit comments