diff --git a/.github/workflows/ci_ut.yml b/.github/workflows/ci_ut.yml index 0d67d46320b..8818a14c697 100644 --- a/.github/workflows/ci_ut.yml +++ b/.github/workflows/ci_ut.yml @@ -60,6 +60,17 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Remove unnecessary packages + run: | + echo "=== Before pruning ===" + df -h + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + sudo rm -rf /opt/ghc + echo + echo "=== After pruning ===" + df -h + - name: Set up JDK uses: actions/setup-java@v4 with: @@ -84,16 +95,6 @@ jobs: sudo mkswap /swapfile sudo swapon /swapfile - - name: Remove unnecessary packages - run: | - echo "=== Before pruning ===" - df -h - sudo rm -rf /usr/share/dotnet - sudo rm -rf /usr/local/lib/android - sudo rm -rf /opt/ghc - echo - echo "=== After pruning ===" - df -h - name: Build with Maven run: mvn --batch-mode --update-snapshots -e -V clean install -DskipTests -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Daether.connector.http.reuseConnections=false -Daether.connector.requestTimeout=60000