Skip to content

Commit

Permalink
changed cache key for ci configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
angelo.andreussi authored and Coduz committed Dec 1, 2023
1 parent ccce1f4 commit 624c497
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/kapua-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/cache@v3 # Cache local Maven repository to reuse dependencies
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- run: mvn -v
Expand All @@ -37,7 +37,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -59,7 +59,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -81,7 +81,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -103,7 +103,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -125,7 +125,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -147,7 +147,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -169,7 +169,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -191,7 +191,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -213,7 +213,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -235,7 +235,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -257,7 +257,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -279,7 +279,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -301,7 +301,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -323,7 +323,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -345,7 +345,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -367,7 +367,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -389,7 +389,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -411,7 +411,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -433,7 +433,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -455,7 +455,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- uses: nick-fields/retry@v2.8.1
Expand All @@ -477,7 +477,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ github.run_id }}-${{ github.run_number }}-maven-cache
restore-keys: |
${{ runner.os }}-maven-
- run: mvn -B -DskipTests install javadoc:jar
Expand Down

0 comments on commit 624c497

Please sign in to comment.