Skip to content

Commit ac4eef3

Browse files
authored
Update push.yml
1 parent 60ce15c commit ac4eef3

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,10 @@ jobs:
2323
working-directory: src/Blazor.Diagrams.Algorithms
2424
run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}'
2525

26-
- name: Test
26+
- name: Push
2727
run: >-
2828
for i in $(find ${{ env.NUGET_DIR }} -type f -name "*.nupkg");
2929
do
3030
echo "File: ${i} \n";
31+
dotnet nuget push $i --api-key "${{ secrets.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
3132
done
32-
33-
- name: Push Blazor.Diagrams.Core
34-
run: 'dotnet nuget push ${{ env.NUGET_DIR }}/Z.Blazor.Diagrams.Core.3.0.1.nupkg --api-key "${{ secrets.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate'
35-
36-
- name: Push Blazor.Diagrams
37-
run: 'dotnet nuget push ${{ env.NUGET_DIR }}/Z.Blazor.Diagrams.3.0.1.nupkg --api-key "${{ secrets.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate'
38-
39-
- name: Push Blazor.Diagrams.Algorithms
40-
run: 'dotnet nuget push ${{ env.NUGET_DIR }}/Z.Blazor.Diagrams.Algorithms.3.0.1.nupkg --api-key "${{ secrets.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate'

0 commit comments

Comments
 (0)