diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 06416ec..754bb42 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -29,10 +29,12 @@ jobs: uses: actions/cache@v3 with: path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + key: ${{ runner.os }}-m2-${{ hashFiles('MavenBack/**/pom.xml') }} restore-keys: | ${{ runner.os }}-m2 + working-directory: MavenBack # Step 4: Build and test with Maven - name: Build and run tests + working-directory: MavenBack run: mvn clean test