[csharp] Include correct build of Grpc.Tools in nightly packages (#33595)

Tentative fix for  #32179.
pull/33269/head
Jan Tattermusch 2 years ago committed by GitHub
parent f7b1ed8287
commit ac3b6bfd4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tools/internal_ci/linux/grpc_publish_packages.sh
  2. 4
      tools/internal_ci/linux/release/grpc_collect_all_packages.sh

@ -63,7 +63,8 @@ PROTOC_PACKAGES=(
# C#
UNZIPPED_CSHARP_PACKAGES=$(mktemp -d)
unzip "$INPUT_ARTIFACTS/csharp_nugets_windows_dotnetcli.zip" -d "$UNZIPPED_CSHARP_PACKAGES"
# the "_multiplatform" suffix is to fix https://github.com/grpc/grpc/issues/32179
unzip "$INPUT_ARTIFACTS/csharp_nugets_windows_dotnetcli_multiplatform.zip" -d "$UNZIPPED_CSHARP_PACKAGES"
CSHARP_PACKAGES=(
"$UNZIPPED_CSHARP_PACKAGES"/*
"$INPUT_ARTIFACTS"/grpc_unity_package.[0-9]*.zip

@ -38,6 +38,10 @@ ls -R input_artifacts || true
# - Ruby's grpc.tools gem also requires protoc plugins build on multiple platforms
tools/run_tests/task_runner.py -f package linux -j 6 || FAILED="true"
# Fix for https://github.com/grpc/grpc/issues/32179 by avoiding name clash
# with csharp_nugets_windows_dotnetcli.zip files from previous steps.
cp artifacts/csharp_nugets_windows_dotnetcli.zip artifacts/csharp_nugets_windows_dotnetcli_multiplatform.zip || true
tools/internal_ci/helper_scripts/store_artifacts_from_moved_src_tree.sh
if [ "$FAILED" != "" ]

Loading…
Cancel
Save