This is an automated email from the ASF dual-hosted git repository. leonard pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink-cdc.git
commit f06cc1f31be4b05e875a9c3a1b90d00cb87c65e4 Author: gongzhongqiang <[email protected]> AuthorDate: Tue Aug 6 23:02:52 2024 +0800 [hotfix][ci] Clean up disk space --- .github/workflows/flink_cdc.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/flink_cdc.yml b/.github/workflows/flink_cdc.yml index 7e19a3813..ef67eb55d 100644 --- a/.github/workflows/flink_cdc.yml +++ b/.github/workflows/flink_cdc.yml @@ -149,6 +149,23 @@ jobs: steps: - run: echo "Running CI pipeline for JDK version ${{ matrix.jdk }}" + - name: Clean up disk space + run: | + set -euo pipefail + + echo "Disk space before cleanup" + df -h + + echo "Cleaning up disk space" + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + sudo rm -rf /opt/ghc + sudo rm -rf /opt/hostedtoolcache/CodeQL + sudo docker image prune --all --force + + echo "Disk space after cleanup" + df -h + - name: Check out repository code uses: actions/checkout@v4 with:
