Skip to content

Commit

Permalink
Seperate push calls for each nuget symbol package
Browse files Browse the repository at this point in the history
  • Loading branch information
calebjenkins committed Jan 4, 2024
1 parent 3023191 commit f30c241
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/dev-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ jobs:
# # run: dotnet nuget push Calebs.KeyValueRepo.${{steps.get_version.outputs.RELEASE_VERSION}}-ci-${GITHUB_RUN_NUMBER}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_KEY}}
# run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_KEY}}

- name: Push Symbols to Nuget
- name: Push KVR Symbols to Nuget
if: ${{ github.ref == 'refs/heads/develop' }}
run: dotnet nuget push *.snupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_KEY}}
run: dotnet nuget push Calebs.KeyValueRepo.${{steps.get_version.outputs.RELEASE_VERSION}}-ci-${GITHUB_RUN_NUMBER}.snupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_KEY}}

- name: Push KVR.SqLite Symbols to Nuget
if: ${{ github.ref == 'refs/heads/develop' }}
run: dotnet nuget push Calebs.KeyValueSqlLiteRepo.${{steps.get_version.outputs.RELEASE_VERSION}}-ci-${GITHUB_RUN_NUMBER}.snupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_KEY}}

- name: Push KVR.Tests Symbols to Nuget
if: ${{ github.ref == 'refs/heads/develop' }}
run: dotnet nuget push Calebs.KeyValueRepoTests.${{steps.get_version.outputs.RELEASE_VERSION}}-ci-${GITHUB_RUN_NUMBER}.snupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_KEY}}

0 comments on commit f30c241

Please sign in to comment.