Skip to content

Commit

Permalink
Improved GitHub Actions CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vruusmann committed Dec 8, 2024
1 parent 5453019 commit 5b1dd79
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@ jobs:
java: [ 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 ]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
- uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
cache: 'maven'
- run: mvn -B package --file pom.xml

0 comments on commit 5b1dd79

Please sign in to comment.