Skip to content

Commit

Permalink
bash
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Dec 19, 2023
1 parent 0529172 commit dccbd5a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/actions/rebuild_thirdparty_if_needed/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ runs:
find ./thirdparty -name '*CMakeFiles*' -type d -exec rm -rf "{}" +
rm -rf ./thirdparty/hadoop-bin/share/doc
rm -rf ./thirdparty/zookeeper-bin/docs
shell: bash
- name: Rebuild third-parties
if: steps.changes.outputs.thirdparty == 'true'
working-directory: thirdparty
Expand All @@ -34,4 +35,5 @@ runs:
../scripts/download_hadoop.sh hadoop-bin
../scripts/download_zk.sh zookeeper-bin
rm -rf hadoop-bin/share/doc
rm -rf zookeeper-bin/docs
rm -rf zookeeper-bin/docs
shell: bash
3 changes: 2 additions & 1 deletion .github/actions/upload_artifact/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ runs:
mv thirdparty/zookeeper-bin ./
rm -rf thirdparty
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
uses: actions/upload-artifact@v3
with:
name: ${ARTIFACT_NAME}_artifact_${{ github.sha }}
path: ${ARTIFACT_NAME}_builder.tar
path: ${ARTIFACT_NAME}_builder.tar

0 comments on commit dccbd5a

Please sign in to comment.