Skip to content

Commit 66de103

Browse files
authored
fix(ci): make push step idempotent (#1062)
1 parent 1433878 commit 66de103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
name: NuGet packages
109109
path: packages
110110
- name: Push packages
111-
run: dotnet nuget push "packages/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
111+
run: dotnet nuget push "packages/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
112112
- uses: dotnet/[email protected]
113113
id: nbgv
114114
- name: Create GitHub release

0 commit comments

Comments
 (0)