Skip to content

Commit

Permalink
Copy macOS x86 artifacts to aarch during upload (grpc#8680)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdubb authored and ejona86 committed Nov 11, 2021
1 parent bb47680 commit c3c9730
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions buildscripts/kokoro/upload_artifacts.sh
Expand Up @@ -29,6 +29,8 @@ LOCAL_MVN_ARTIFACTS="$KOKORO_GFILE_DIR"/github/grpc-java/mvn-artifacts/

# from macos job:
[[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'protoc-gen-grpc-java-*-osx-x86_64.exe' | wc -l)" != '0' ]]
# copy all x86 artifacts to aarch until native artifacts are built
find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'protoc-gen-grpc-java-*-osx-x86_64.exe*' -exec bash -c 'cp "${0}" "${0/x86/aarch}"' {} \;

# from windows job:
[[ "$(find "$LOCAL_MVN_ARTIFACTS" -type f -iname 'protoc-gen-grpc-java-*-windows-x86_64.exe' | wc -l)" != '0' ]]
Expand Down

0 comments on commit c3c9730

Please sign in to comment.