-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed cache key for ci configuration
- Loading branch information
angelo.andreussi
committed
Nov 30, 2023
1 parent
e8325b2
commit 467e844
Showing
1 changed file
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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/[email protected] | ||
|
@@ -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 | ||
|