Skip to content

Commit 5890837

Browse files
committed
release workflow update
1 parent 2ddbc08 commit 5890837

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/NUGET-PUSH.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,11 @@ jobs:
6060
- name: Push packages to NuGet
6161
run: dotnet nuget push ${GITHUB_WORKSPACE}/packages/'*.nupkg' -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
6262
- name: Push packages to GitHub Package Registry
63-
run: dotnet nuget push ${GITHUB_WORKSPACE}/packages/'*.nupkg' -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/egil/index.json --skip-duplicate
63+
run: |
64+
for f in ${GITHUB_WORKSPACE}/packages/*.nupkg
65+
do
66+
curl -vX PUT -u "egil:${{ secrets.GITHUB_TOKEN }}" -F package=@$f https://nuget.pkg.github.com/egil/
67+
done
68+
shell: bash
69+
#- name: Push packages to GitHub Package Registry
70+
# run: dotnet nuget push ${GITHUB_WORKSPACE}/packages/'*.nupkg' -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/egil/index.json --skip-duplicate

0 commit comments

Comments
 (0)