Skip to content

Commit

Permalink
fix(github): zookeeper-bin cannot be found while uploading artifact (#…
Browse files Browse the repository at this point in the history
…2127)

Fix #2128.

Only move `hadoop-bin` and `zookeeper-bin` out of third-party
directory immediately before uploading artifact.
  • Loading branch information
empiredan authored Sep 29, 2024
1 parent f7f608e commit 73d4bf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/actions/rebuild_thirdparty_if_needed/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,4 @@ runs:
../admin_tools/download_zk.sh zookeeper-bin
rm -rf hadoop-bin/share/doc
rm -rf zookeeper-bin/docs
mv hadoop-bin ..
mv zookeeper-bin ..
shell: bash
2 changes: 2 additions & 0 deletions .github/actions/upload_artifact/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ runs:
steps:
- name: Tar files
run: |
mv thirdparty/hadoop-bin ./
mv thirdparty/zookeeper-bin ./
rm -rf thirdparty
# The following operations are tricky, these directories and files don't exist if not build with '--test'.
# When build binaries for client tests, it's not needed to add '--test'.
Expand Down

0 comments on commit 73d4bf7

Please sign in to comment.