diff --git a/.github/workflows/maven-checks.yml b/.github/workflows/maven-checks.yml index acfcc41efdbc3..2b5f35eefe920 100644 --- a/.github/workflows/maven-checks.yml +++ b/.github/workflows/maven-checks.yml @@ -23,10 +23,10 @@ jobs: cancel-in-progress: true steps: - name: Free Disk Space - run: | - df -h - sudo apt-get clean - df -h + uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 + with: + tool-cache: true + swap-storage: false - uses: actions/checkout@v4 with: show-progress: false