This commit is contained in:
@@ -22,6 +22,18 @@ jobs:
|
||||
java-version: 8
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Install Maven
|
||||
run: sudo apt-get update && sudo apt-get install -y maven
|
||||
|
||||
- name: Cache Maven dependencies
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-maven-
|
||||
|
||||
- name: Build all
|
||||
run: mvn clean package
|
||||
|
||||
|
||||
Reference in New Issue
Block a user