Skip to content

Commit

Permalink
Remove ESRP NuGet feed (#357)
Browse files Browse the repository at this point in the history
Office is a downstream of ESRP stream, which means we can always download `Microsoft.EsrpClient` from existing Office feed. By removing the feed and redirecting to Office, we no longer need to maintain 2 separate NuGet token. `ADO_TOKEN` will be enough.
  • Loading branch information
goagain authored Nov 17, 2023
1 parent f81ad81 commit 2f5b318
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ jobs:
- name: Download ESRPClient.exe
env:
ESRP_VERSION: ${{ secrets.ESRP_VERSION }}
NUGET_CREDENTIALS: ${{ secrets.NUGET_CREDENTIALS }}
NUGET_CREDENTIALS: ${{ secrets.ADO_TOKEN }}
run: |
nuget sources add -Name esrp -Username esrp-downloader -Password $env:NUGET_CREDENTIALS -Source https://microsoft.pkgs.visualstudio.com/_packaging/ESRP/nuget/v3/index.json
nuget install Microsoft.EsrpClient -Version "$env:ESRP_VERSION" -OutputDirectory .\esrp -Source https://microsoft.pkgs.visualstudio.com/_packaging/ESRP/nuget/v3/index.json
nuget sources add -Name esrp -Username esrp-downloader -Password $env:NUGET_CREDENTIALS -Source https://pkgs.dev.azure.com/office/_packaging/Office/nuget/v3/index.json
nuget install Microsoft.EsrpClient -Version "$env:ESRP_VERSION" -OutputDirectory .\esrp -Source https://pkgs.dev.azure.com/office/_packaging/Office/nuget/v3/index.json
- name: Login to Azure
uses: azure/login@v1
with:
Expand Down

0 comments on commit 2f5b318

Please sign in to comment.