Skip to content

Commit

Permalink
modernize workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yanntm committed Dec 12, 2023
1 parent c725e28 commit 0e717b0
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3.13.0
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- name: Build with Maven
run: mvn -e generate-sources install
- name: Deploy to GitHub Pages
Expand Down

0 comments on commit 0e717b0

Please sign in to comment.