summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorinnovaker <66737976+innovaker@users.noreply.github.com>2020-11-27 15:24:16 +0000
committerPete Johanson <peter@peterjohanson.com>2020-11-28 00:03:33 -0500
commit27d036b9d5e40e05dc4809ad1ccb3255d414d267 (patch)
treeef472ba12ec3261b604847b089b430d76376e960 /.github
parentefe18a995b5240562d177087da73a8bc8e5fe113 (diff)
refactor(workflows): remove `2-` prefix from cache keys
Removes obsolete cache invalidation hack. Ref: 064323b667e33b3f68e56165e9add66b7482ed68 PR: #434
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 f6a12bf..fc00328 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -56,11 +56,11 @@ jobs:
tools/
zephyr/
bootloader/
- key: 2-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }}
+ key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }}
restore-keys: |
- 2-${{ runner.os }}-build-${{ env.cache-name }}-
- 2-${{ runner.os }}-build-
- 2-${{ runner.os }}-
+ ${{ runner.os }}-build-${{ env.cache-name }}-
+ ${{ runner.os }}-build-
+ ${{ runner.os }}-
- name: West Init
uses: "docker://zmkfirmware/zephyr-west-action-arm:latest"
id: west-init
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index f3e9351..d3521e9 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -31,11 +31,11 @@ jobs:
tools/
zephyr/
bootloader/
- key: 2-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }}
+ key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }}
restore-keys: |
- 2-${{ runner.os }}-build-${{ env.cache-name }}-
- 2-${{ runner.os }}-build-
- 2-${{ runner.os }}-
+ ${{ runner.os }}-build-${{ env.cache-name }}-
+ ${{ runner.os }}-build-
+ ${{ runner.os }}-
- name: West Init
uses: "docker://zmkfirmware/zephyr-west-action-arm:latest"
id: west-init