Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add publish ci #115

Merged
merged 20 commits into from
Feb 21, 2023
Prev Previous commit
Next Next commit
test
  • Loading branch information
elringus committed Feb 21, 2023
commit a6fab947b7fe3a60c2294f73d65aace827a24c0c
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
dotnet pack -c Release -o packages
- name: publish to nuget
run: |
dotnet nuget push "./packages/*.nupkg" -k ${{ secrets.NUGET_KEY }} -s https://www.nuget.org
dotnet nuget push "DotNet/packages/*.nupkg" -k ${{ secrets.NUGET_KEY }} -s https://www.nuget.org
- name: publish to github
run: |
dotnet nuget add source https://nuget.pkg.github.com/Elringus/index.json -n github --username Elringus --password ${{ secrets.GH_KEY }} --store-password-in-clear-text
dotnet nuget push "./packages/*.nupkg" -s github
dotnet nuget push "DotNet/packages/*.nupkg" -s github