Skip to content

Commit a84151e

Browse files
committed
add push to nuget packages
1 parent f6aa74b commit a84151e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/CI.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,7 @@ jobs:
5656
dotnet new bunit --no-restore -o ${GITHUB_WORKSPACE}/Test
5757
dotnet restore ${GITHUB_WORKSPACE}/Test/Test.csproj --source ${GITHUB_WORKSPACE}/lib
5858
dotnet test ${GITHUB_WORKSPACE}/Test
59+
- name: Push packages to GitHub Packages
60+
run: |
61+
dotnet nuget push ${GITHUB_WORKSPACE}/lib/*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/egil/index.json --skip-duplicate
62+
dotnet nuget push ${GITHUB_WORKSPACE}/template/*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/egil/index.json --skip-duplicate

0 commit comments

Comments
 (0)