Skip to content

Commit 82ea97e

Browse files
chore: update release ci to add nuget source
1 parent f6e9516 commit 82ea97e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ jobs:
4646
SQLKATA_MYSQL_DB: ${{ env.DB_MYSQL_DATABASE }}
4747
- name: Pack
4848
run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
49-
- name: Push
50-
run: dotnet nuget push *.${VERSION}.nupkg --source https://nuget.pkg.github.com/sqlkata/index.json --api-key ${GITHUB_TOKEN}
49+
- name: Push to Github Packages
50+
run: dotnet nuget push *.${VERSION}.nupkg --skip-duplicate --source https://nuget.pkg.github.com/sqlkata/index.json --api-key ${GITHUB_TOKEN}
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
- name: Push to Nuget
54+
run: dotnet nuget push *.${VERSION}.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${NUGET_KEY}
55+
env:
56+
NUGET_KEY: ${{ secrets.NUGET_KEY }}

0 commit comments

Comments
 (0)