Skip to content

Commit 1933cc8

Browse files
authored
Update dotnetcore.yml
1 parent 56e1bbd commit 1933cc8

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/dotnetcore.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
- name: Build with dotnet
3131
run: dotnet build --configuration Release src/RabbitMQ.EventBus.AspNetCore
3232
- name: Pack
33-
run: dotnet pack src/RabbitMQ.EventBus.AspNetCore -c Release --include-symbols --include-source -p:PackageVersion=${{steps.tag.outputs.tag}} -o artifacts/
33+
run: dotnet pack src/RabbitMQ.EventBus.AspNetCore -c Release --include-symbols --include-source -p:PackageVersion=${{steps.tag.outputs.tag}} -o artifacts/
3434
- name: Publish Symbols to NuGet
35-
run: dotnet nuget push artifacts/*.symbols.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
35+
run: dotnet nuget push artifacts/*.symbols.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
36+
- name: Add Source Github NuGet
37+
run: dotnet nuget add source --username ojdev --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/OWNER/index.json"
38+
- name: Publish Symbols to Github NuGet
39+
run: dotnet nuget push artifacts/*.symbols.nupkg --api-key ${{secrets.GITHUB_NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
40+

0 commit comments

Comments
 (0)