From dccbd5a2d7a23d75b906b0972ce083b0683ddfe8 Mon Sep 17 00:00:00 2001 From: Yingchun Lai Date: Tue, 19 Dec 2023 15:51:48 +0800 Subject: [PATCH] bash --- .github/actions/rebuild_thirdparty_if_needed/action.yaml | 4 +++- .github/actions/upload_artifact/action.yaml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/actions/rebuild_thirdparty_if_needed/action.yaml b/.github/actions/rebuild_thirdparty_if_needed/action.yaml index b29c7f4d9e..f460b8e623 100644 --- a/.github/actions/rebuild_thirdparty_if_needed/action.yaml +++ b/.github/actions/rebuild_thirdparty_if_needed/action.yaml @@ -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 @@ -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 \ No newline at end of file + rm -rf zookeeper-bin/docs + shell: bash diff --git a/.github/actions/upload_artifact/action.yaml b/.github/actions/upload_artifact/action.yaml index 5143143cd9..b8f4682bf6 100644 --- a/.github/actions/upload_artifact/action.yaml +++ b/.github/actions/upload_artifact/action.yaml @@ -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 \ No newline at end of file + path: ${ARTIFACT_NAME}_builder.tar