Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 7bbcbc2

Browse files
committed
Fix release pipeline
1 parent e52191b commit 7bbcbc2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release-cli.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ jobs:
99
matrix:
1010
rid: ['win-x64', 'osx-x64', 'linux-x64']
1111
env:
12-
NUGET_URL: https://nuget.pkg.github.com/microsoft/index.json
12+
MS_NUGET_URL: https://nuget.pkg.github.com/microsoft/index.json
13+
MSGRAPH_NUGET_URL: https://nuget.pkg.github.com/microsoftgraph/index.json
1314
PACKAGE_VERSION: ${{github.ref_name || 'v0.1.0'}}
1415
PACKAGE_ZIP_TEMPLATE: "msgraph-cli-{0}-{1}.zip"
1516
OUTPUT_DIR: /tmp/publish
@@ -29,7 +30,8 @@ jobs:
2930
- name: Add NuGet kiota source
3031
# NOTE: Password encryption is not supported for the linux platform (Encryption is only supported on Windows platforms.)
3132
run: |
32-
dotnet nuget add source ${{env.NUGET_URL}} -n github -u ${{secrets.NUGET_USER}} -p ${{secrets.NUGET_PASSWORD}} --store-password-in-clear-text
33+
dotnet nuget add source ${{env.MS_NUGET_URL}} -n ms-gh -u ${{secrets.NUGET_USER}} -p ${{secrets.NUGET_PASSWORD}} --store-password-in-clear-text
34+
dotnet nuget add source ${{env.MSGRAPH_NUGET_URL}} -n msgraph-gh -u ${{secrets.NUGET_USER}} -p ${{secrets.NUGET_PASSWORD}} --store-password-in-clear-text
3335
- uses: actions/cache@v2
3436
with:
3537
path: ~/.nuget/packages

0 commit comments

Comments
 (0)