From 950e2681e1fdea4b8b89e191733b6a53b41121b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerson=20Suny=C3=A9?= Date: Tue, 1 Oct 2024 14:23:58 +0200 Subject: [PATCH] Configure github actions cache --- .github/workflows/maven.yml | 6 ++++++ neoemf-core/pom.xml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 384c8cdc6..7b5077720 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -56,6 +56,12 @@ jobs: java-version: '22' distribution: 'temurin' cache: maven + - name: Cache Maven packages + uses: actions/cache@v4 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 - name: Build plugins with Tycho run: ./mvnw -B -f plugins/eclipse install diff --git a/neoemf-core/pom.xml b/neoemf-core/pom.xml index 3e392ef3e..584b73187 100644 --- a/neoemf-core/pom.xml +++ b/neoemf-core/pom.xml @@ -126,7 +126,7 @@ org.mockito mockito-core - 3.6.0 + 5.13.0