diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb2c1e7c309..4361a0b1a0f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,10 +46,11 @@ jobs: - name: Build run: mvn -U -B -e clean install -Prat -DskipTests "-Dinvoker.skip=true" - name: Save Maven Local Repository - uses: actions/cache/save@v5 + uses: actions/upload-artifact@v7 with: + name: maven-local-repo path: ~/.m2/repository - key: maven-local-repo-${{ github.run_id }} + retention-days: 1 test: name: test @@ -70,10 +71,10 @@ jobs: distribution: 'temurin' cache: 'maven' - name: Restore Maven Local Repository - uses: actions/cache/restore@v5 + uses: actions/download-artifact@v4 with: + name: maven-local-repo path: ~/.m2/repository - key: maven-local-repo-${{ github.run_id }} - name: Test run: mvn -B -e install -Ptest timeout-minutes: 180