Skip to content

Commit b92b307

Browse files
fix: update Telerik API key reference in NuGet.config and adjust Azure deployment steps
1 parent 297562c commit b92b307

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/azure-deploy.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,10 @@ jobs:
3232
with:
3333
dotnet-version: ${{ env.DOTNET_VERSION }}
3434

35-
- name: Add Local Package Source
36-
run: dotnet nuget add source ${{ github.workspace }}/blazor-progress-rag-demo/packages --name LocalPackages
37-
38-
- name: Add Telerik Package Source
39-
run: dotnet nuget update source "telerik" --source "https://nuget.telerik.com/v3/index.json" --username api-key --password ${{ secrets.TELERIK_API_KEY }}
40-
4135
- name: Build with dotnet
4236
run: dotnet build --configuration Release
37+
env:
38+
TELERIK_API_KEY: ${{ secrets.TELERIK_API_KEY }}
4339

4440
- name: dotnet publish
4541
run: dotnet publish -c Release -o ./publish

NuGet.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<packageSourceCredentials>
88
<telerik>
99
<add key="Username" value="api-key" />
10-
<add key="ClearTextPassword" value="YOUR_API_KEY" />
10+
<add key="ClearTextPassword" value="%TELERIK_API_KEY%" />
1111
</telerik>
1212
</packageSourceCredentials>
1313
</configuration>

0 commit comments

Comments
 (0)