Skip to content

Commit

Permalink
tar non --test
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Dec 19, 2023
1 parent e08e6c5 commit b8d6b7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/upload_artifact/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ runs:
using: composite
steps:
- name: Tar files
# 'touch build/latest/src/server/test/config.ini' is tricky, this file doesn't exist if not build with '--test'.
# When build binaries for client tests, it's not needed to add '--test'.
run: |
mv thirdparty/hadoop-bin ./
mv thirdparty/zookeeper-bin ./
rm -rf thirdparty
touch build/latest/src/server/test/config.ini
tar -zcvhf ${ARTIFACT_NAME}_builder.tar build/latest/output build/latest/bin build/latest/src/server/test/config.ini hadoop-bin zookeeper-bin
shell: bash
- name: Upload Artifact
Expand Down

0 comments on commit b8d6b7c

Please sign in to comment.