Skip to content

Commit bd319f2

Browse files
author
Jake Soenneker
committed
GH Registry
1 parent 363778c commit bd319f2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/publish-package.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,17 @@ jobs:
7878
exit 1
7979
fi
8080
done
81+
82+
- name: Add GitHub NuGet Source
83+
run: |
84+
dotnet nuget add source https://nuget.pkg.github.com/soenneker/index.json \
85+
--name "github" \
86+
--username "any" \
87+
--password ${{ secrets.GH_TOKEN }} \
88+
--store-password-in-clear-text
89+
90+
- name: Publish to GitHub Packages
91+
run: |
92+
dotnet nuget push ./*.nupkg \
93+
--source "github" \
94+
--api-key ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)