File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 VERSION=${{ steps.set-version.outputs.version }}
6060 dotnet pack src/${{ github.event.repository.name }}.csproj \
6161 --configuration Release \
62- --no-build \
63- --skip-duplicate \
62+ --no-build \
6463 -p:PackageVersion=$VERSION \
6564 -p:IncludeSymbols=true \
6665 -p:SymbolPackageFormat=snupkg
@@ -74,12 +73,14 @@ jobs:
7473 echo "Pushing main package: $pkg"
7574 dotnet nuget push "$pkg" \
7675 --api-key "${{ secrets.NUGET_API_KEY }}" \
77- --source https://api.nuget.org/v3/index.json
76+ --source https://api.nuget.org/v3/index.json \
77+ --skip-duplicate
7878 done
7979
8080 for symbols in $(find src/bin/Release -name "*.snupkg"); do
8181 echo "Pushing symbol package: $symbols"
8282 dotnet nuget push "$symbols" \
8383 --api-key "${{ secrets.NUGET_API_KEY }}" \
84- --source https://api.nuget.org/v3/index.json
84+ --source https://api.nuget.org/v3/index.json \
85+ --skip-duplicate
8586 done
You can’t perform that action at this time.
0 commit comments