Skip to content

Commit 4c2990b

Browse files
authored
Added support for GitHub Packages, #4 (#12)
1 parent 758dad9 commit 4c2990b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@ jobs:
2424
run: |
2525
chmod +x pack.sh
2626
./pack.sh
27-
nuget push ./nupkgs/*.nupkg -Source https://www.nuget.org/api/v2/package -ApiKey ${{ secrets.NUGET_KEY }}
27+
nuget push ./nupkgs/*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_KEY }}
28+
nuget source Add -Name "GitHub" -Source "https://nuget.pkg.github.com/Sankra/index.json" -UserName Sankra -Password ${{ secrets.GITHUB_TOKEN }}
29+
nuget push ./nupkgs/*.nupkg -Source "GitHub"
2830
shell: bash

0 commit comments

Comments
 (0)