Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigobelo authored Jul 19, 2021
1 parent b9381e3 commit 32801d2
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:

- name: Pack KafkaFlow.Retry
run: dotnet pack src/KafkaFlow.Retry/KafkaFlow.Retry.csproj -c Release --include-symbols /p:Version=${{ github.event.release.tag_name }}

- name: Publish KafkaFlow.Retry
run: dotnet nuget push ./**/*.nupkg -k ${{ secrets.TEMP_NUGET_PUBLISH_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate

- name: Pack KafkaFlow.Retry.API
run: dotnet pack src/KafkaFlow.Retry.API/KafkaFlow.Retry.API.csproj -c Release --include-symbols /p:Version=${{ github.event.release.tag_name }}
Expand All @@ -31,14 +28,8 @@ jobs:
- name: Pack KafkaFlow.Retry.MongoDb
run: dotnet pack src/KafkaFlow.Retry.MongoDb/KafkaFlow.Retry.MongoDb.csproj -c Release --include-symbols /p:Version=${{ github.event.release.tag_name }}

- name: Publish (MongoDB)
run: dotnet nuget push ./**/KafkaFlow.Retry.MongoDb.*.nupkg -k ${{ secrets.NUGET_PUBLISH_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate

- name: Publish (SqlServer)
run: dotnet nuget push ./**/KafkaFlow.Retry.SqlServer.*.nupkg -k ${{ secrets.NUGET_PUBLISH_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate

- name: Publish (API)
run: dotnet nuget push ./**/KafkaFlow.Retry.API.*.nupkg -k ${{ secrets.NUGET_PUBLISH_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
- name: Publish
run: dotnet nuget push ./**/*.nupkg -k ${{ secrets.NUGET_PUBLISH_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate

- name: Print Version
run: echo ${{ github.event.release.tag_name }}

0 comments on commit 32801d2

Please sign in to comment.