Skip to content

Commit

Permalink
GH Registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Soenneker committed Dec 31, 2024
1 parent aa8af15 commit b878c7b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,17 @@ jobs:
exit 1
fi
done
- name: Add GitHub NuGet Source
run: |
dotnet nuget add source https://nuget.pkg.github.com/soenneker/index.json \
--name "github" \
--username "any" \
--password ${{ secrets.GH_TOKEN }} \
--store-password-in-clear-text
- name: Publish to GitHub Packages
run: |
dotnet nuget push ./*.nupkg \
--source "github" \
--api-key ${{ secrets.GH_TOKEN }}

0 comments on commit b878c7b

Please sign in to comment.