Skip to content

Commit

Permalink
Try setup-maven-action
Browse files Browse the repository at this point in the history
  • Loading branch information
Deee92 committed Jul 8, 2024
1 parent be4a16a commit 02dfe31
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@ jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Maven
uses: s4u/[email protected]
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: corretto
java-distribution: corretto
java-version: 11
maven-version: 3.6.0
- name: "Cache local Maven"
uses: actions/cache@v4
uses: actions/cache
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down

0 comments on commit 02dfe31

Please sign in to comment.