summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorinnovaker <66737976+innovaker@users.noreply.github.com>2020-11-28 17:48:18 +0000
committerPete Johanson <peter@peterjohanson.com>2020-12-01 00:32:02 -0500
commitfe010c7b6d791b1589a42124534b2b99c03b882c (patch)
tree241697626b716d30bcd0f35029f6d2835ced9465 /.github
parent924a598920cf5894970bb98ae825663640d32bd7 (diff)
refactor(workflows): add `3-` prefix to cache keys
A hack to invalidate GitHub actions/cache in CI builds/tests. Activates benefits of 90123caa4ca413f9c9e96d37e9b627ebf0407b66. Should be reverted after 2 weeks. PR: #442
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml8
-rw-r--r--.github/workflows/test.yml8
2 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 37abeda..433e279 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -55,11 +55,11 @@ jobs:
tools/
zephyr/
bootloader/
- key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }}
+ key: 3-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }}
restore-keys: |
- ${{ runner.os }}-build-${{ env.cache-name }}-
- ${{ runner.os }}-build-
- ${{ runner.os }}-
+ 3-${{ runner.os }}-build-${{ env.cache-name }}-
+ 3-${{ runner.os }}-build-
+ 3-${{ runner.os }}-
timeout-minutes: 2
continue-on-error: true
- name: West init
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index ada22ed..c283e49 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -30,11 +30,11 @@ jobs:
tools/
zephyr/
bootloader/
- key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }}
+ key: 3-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }}
restore-keys: |
- ${{ runner.os }}-build-${{ env.cache-name }}-
- ${{ runner.os }}-build-
- ${{ runner.os }}-
+ 3-${{ runner.os }}-build-${{ env.cache-name }}-
+ 3-${{ runner.os }}-build-
+ 3-${{ runner.os }}-
timeout-minutes: 2
continue-on-error: true
- name: West init