diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3adf36c60..54ab36e55 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,5 +12,12 @@ jobs: uses: actions/setup-java@v1 with: java-version: 11 + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- - name: Build with Maven - run: mvn -e -B package \ No newline at end of file + run: mvn -e -B package