Skip to content

Commit

Permalink
chore: update release ci to add nuget source
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-moussawi committed Feb 1, 2025
1 parent f6e9516 commit 4bbee3a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ jobs:
SQLKATA_MYSQL_DB: ${{ env.DB_MYSQL_DATABASE }}
- name: Pack
run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
- name: Push
- name: Push to Github Packages
run: dotnet nuget push *.${VERSION}.nupkg --source https://nuget.pkg.github.com/sqlkata/index.json --api-key ${GITHUB_TOKEN}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Push to Nuget
run: dotnet nuget push *.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_KEY}
env:
NUGET_KEY: ${{ secrets.NUGET_KEY }}

0 comments on commit 4bbee3a

Please sign in to comment.