From 4c2990bce2bcfed7f56379224630b68437e270d6 Mon Sep 17 00:00:00 2001 From: Runar Ovesen Hjerpbakk Date: Wed, 23 Oct 2019 11:27:51 +0200 Subject: [PATCH] Added support for GitHub Packages, #4 (#12) --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 999640e..4f85319 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,5 +24,7 @@ jobs: run: | chmod +x pack.sh ./pack.sh - nuget push ./nupkgs/*.nupkg -Source https://www.nuget.org/api/v2/package -ApiKey ${{ secrets.NUGET_KEY }} + nuget push ./nupkgs/*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_KEY }} + nuget source Add -Name "GitHub" -Source "https://nuget.pkg.github.com/Sankra/index.json" -UserName Sankra -Password ${{ secrets.GITHUB_TOKEN }} + nuget push ./nupkgs/*.nupkg -Source "GitHub" shell: bash