Skip to content

Commit ff4973c

Browse files
committed
[ClientSDKs/C#] Use gpr for Nuget github action
1 parent 71d3fc7 commit ff4973c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/nuget-pack.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,14 @@ jobs:
3636
- name: Add private GitHub registry to NuGet
3737
run: dotnet nuget add source https://nuget.pkg.github.com/RelationalAI-oss/index.json -n GPR -u RelationalAI-oss -p ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text
3838

39+
- name: Install gpr tool
40+
run: dotnet tool install gpr -g
41+
3942
- name: Push generated package to GitHub registry
4043
run: |
4144
for f in DelveClientSDK/bin/Release/*.nupkg
4245
do
43-
dotnet nuget push $f --source "GPR"
46+
gpr push $f -k ${{ secrets.GITHUB_TOKEN }}
4447
done
4548
shell: bash
4649

0 commit comments

Comments
 (0)