From bc67c44c2062b5cafa7bd8276bec921031ec772e Mon Sep 17 00:00:00 2001 From: Sergey Grigoriev Date: Fri, 2 Aug 2024 11:28:38 +0200 Subject: [PATCH] test: build as jobs --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be6a613..91fc424 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -115,7 +115,9 @@ jobs: - name: Restore Maven cache uses: actions/cache@v3 with: - path: ~/.m2/repository + path: | + /home/runner/.m2 + /home/runner/work/${{ github.repository }} key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- @@ -143,7 +145,9 @@ jobs: - name: Restore Maven cache uses: actions/cache@v3 with: - path: ~/.m2/repository + path: | + /home/runner/.m2 + /home/runner/work/${{ github.repository }} key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven-