Skip to content

Commit

Permalink
Merge pull request #191 from rhusar/gha
Browse files Browse the repository at this point in the history
CI: Replace explicit caching with setup-java cache mechanism; use mav…
  • Loading branch information
rhusar authored Oct 23, 2024
2 parents f2e3615 + 1e1c84f commit 07af63b
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,10 @@ jobs:
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
cache: maven
- name: Build with Maven using JDK ${{ matrix.java }}
run: mvn --batch-mode --no-transfer-progress verify
- name: Archive Failsafe Reports
run: ./mvnw --batch-mode --no-transfer-progress verify
- name: Upload Failsafe Reports
if: failure()
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 07af63b

Please sign in to comment.