diff --git a/.github/workflows/cache-invalidation-workflow.yml b/.github/workflows/cache-invalidation-workflow.yml index ed19fc94..796b2493 100644 --- a/.github/workflows/cache-invalidation-workflow.yml +++ b/.github/workflows/cache-invalidation-workflow.yml @@ -14,6 +14,11 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: Set up Java + uses: actions/setup-java@v4 + with: + distribution: "temurin" + java-version: 21 - uses: actions/checkout@v3 - name: Cache local Maven repository uses: actions/cache@v2 @@ -23,4 +28,4 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: Check changes in [cache-invalidation] example - run: cd cache-invalidation && mvn clean package -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 + run: cd cache-invalidation && mvn clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120