From 3ea3aa5595a82d6bbafe8c48603c2cb02b84cb7e Mon Sep 17 00:00:00 2001 From: Benjamin Prud'homme <139664105+bgprudhomme@users.noreply.github.com> Date: Sat, 2 Nov 2024 13:42:43 -0400 Subject: [PATCH] Update unittests.yml --- .github/workflows/unittests.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 7420fd91b2729..eaa4aa7fa1b56 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