File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,21 @@ permissions:
88 id-token : write
99
1010jobs :
11+ nuget-auth :
12+ runs-on : ubuntu-latest
13+ permissions :
14+ id-token : write
15+ outputs :
16+ api-key : ${{ steps.login.outputs.NUGET_API_KEY }}
17+ steps :
18+ - name : NuGet login (OIDC trusted publishing)
19+ id : login
20+ uses : NuGet/login@v1
21+ with :
22+ user : ${{ secrets.NUGET_USER }}
23+
1124 release :
25+ needs : nuget-auth
1226 uses : reactiveui/actions-common/.github/workflows/workflow-common-release.yml@main
1327 with :
1428 solutionFile : ReactiveUI.Binding.SourceGenerators.slnx
1832 ES_PASSWORD : ${{ secrets.ES_PASSWORD }}
1933 CREDENTIAL_ID : ${{ secrets.CREDENTIAL_ID }}
2034 ES_TOTP_SECRET : ${{ secrets.ES_TOTP_SECRET }}
21- NUGET_USER : ${{ secrets.NUGET_USER }}
35+ NUGET_API_KEY : ${{ needs.nuget-auth.outputs.api-key }}
You can’t perform that action at this time.
0 commit comments