From b5d3052d980e0bdf50ea57532f37cd59b450a0f6 Mon Sep 17 00:00:00 2001 From: csc-gip <107556666+csc-gip@users.noreply.github.com> Date: Fri, 3 Nov 2023 11:58:50 +0100 Subject: [PATCH] Add caching of maven dependencies --- .github/workflows/build-on-pull-request.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-on-pull-request.yml b/.github/workflows/build-on-pull-request.yml index 525816207..caf512b5b 100644 --- a/.github/workflows/build-on-pull-request.yml +++ b/.github/workflows/build-on-pull-request.yml @@ -17,6 +17,12 @@ jobs: - name: Check out xyna-factory uses: actions/checkout@v3 + - uses: actions/cache@v3 + id: maven-cache + with: + path: /home/runner/.m2 + key: ${{ runner.os }}-maven-cache-for-pr-build-${{ hashFiles('installation/build/pom.xml') }} + - name: determine changed modules env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}