diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 7420fd91b272..eaa4aa7fa1b5 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -18,11 +18,12 @@ jobs: matrix: language: [ 'java' ] - - name: Setup local maven cache - uses: actions/cache@v4 - with: - path: ~/.m2/repository - key: maven-cache-${{ hashFiles('**/pom.xml') }} - - - name: Run tests - run: ./mvnw test + steps: + - name: Setup local maven cache + uses: actions/cache@v4 + with: + path: ~/.m2/repository + key: maven-cache-${{ hashFiles('**/pom.xml') }} + + - name: Run tests + run: ./mvnw test