File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 77 workflow_dispatch :
88
99jobs :
10- build :
10+ build-and-test :
1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : Checkout code
5757 dotnet pack src/${{ github.event.repository.name }}.csproj \
5858 --configuration Release \
5959 --no-build \
60- --skip-duplicate \
6160 -p:PackageVersion=$VERSION \
6261 -p:IncludeSymbols=true \
6362 -p:SymbolPackageFormat=snupkg
@@ -71,12 +70,14 @@ jobs:
7170 echo "Pushing main package: $pkg"
7271 dotnet nuget push "$pkg" \
7372 --api-key "${{ secrets.NUGET_API_KEY }}" \
74- --source https://api.nuget.org/v3/index.json
73+ --source https://api.nuget.org/v3/index.json \
74+ --skip-duplicate
7575 done
7676
7777 for symbols in $(find src/bin/Release -name "*.snupkg"); do
7878 echo "Pushing symbol package: $symbols"
7979 dotnet nuget push "$symbols" \
8080 --api-key "${{ secrets.NUGET_API_KEY }}" \
81- --source https://api.nuget.org/v3/index.json
81+ --source https://api.nuget.org/v3/index.json \
82+ --skip-duplicate
8283 done
You can’t perform that action at this time.
0 commit comments