Skip to content

Commit

Permalink
Copy macOS x86 artifacts to aarch during upload (#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 a25472e commit 96068a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions buildscripts/kokoro/upload_artifacts.sh
Expand Up @@ -33,6 +33,8 @@ LOCAL_OTHER_ARTIFACTS="$KOKORO_GFILE_DIR"/github/grpc-java/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 96068a1

Please sign in to comment.