This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git
The following commit(s) were added to refs/heads/master by this push:
new 9ed55be chore(build): cache artefacts within github cache by run
infos instead of git sha
9ed55be is described below
commit 9ed55be64ccd9e1b3d363e7e8031f72de1c77aa0
Author: lburgazzoli <[email protected]>
AuthorDate: Mon Apr 20 14:03:37 2020 +0200
chore(build): cache artefacts within github cache by run infos instead of
git sha
---
.github/workflows/pr-build.yml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml
index 6493a72..5e3b8ff 100644
--- a/.github/workflows/pr-build.yml
+++ b/.github/workflows/pr-build.yml
@@ -35,9 +35,9 @@ jobs:
uses: actions/cache@v1
with:
path: ~/.m2/repository
- key: maven-${{ github.sha }}
+ key: maven-${{ github.run_id }}-${{ github.run_number }}
restore-keys: |
- maven-${{ github.sha }}
+ maven-${{ github.run_id }}-${{ github.run_number }}
build-additional-jvm:
runs-on: ubuntu-latest
strategy:
@@ -77,9 +77,9 @@ jobs:
uses: actions/cache@v1
with:
path: ~/.m2/repository
- key: maven-${{ github.sha }}
+ key: maven-${{ github.run_id }}-${{ github.run_number }}
restore-keys: |
- maven-${{ github.sha }}
+ maven-${{ github.run_id }}-${{ github.run_number }}
- name: Integration Test - ${{ matrix.native-image-project }}
run: |
./mvnw -V -B -ntp -nsu clean install \
@@ -111,9 +111,9 @@ jobs:
# uses: actions/cache@v1
# with:
# path: ~/.m2/repository
-# key: maven-${{ github.sha }}
+# key: maven-${{ github.run_id }}-${{ github.run_number }}
# restore-keys: |
-# maven-${{ github.sha }}
+# maven-${{ github.run_id }}-${{ github.run_number }}
# - name: Examples - ${{ matrix.native-image-project }}
# run: |
# ./mvnw -V -B -ntp -nsu clean package \