Skip to content

Commit

Permalink
[cache-invalidation] Fix build step
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Sep 27, 2024
1 parent 944b5b9 commit 9a1dcf3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/cache-invalidation-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 9a1dcf3

Please sign in to comment.