Browse Source

refactor(workflows): remove `2-` prefix from cache keys

Removes obsolete cache invalidation hack.

Ref: 064323b667
PR: #434
xmkb
innovaker 4 years ago committed by Pete Johanson
parent
commit
27d036b9d5
  1. 8
      .github/workflows/build.yml
  2. 8
      .github/workflows/test.yml

8
.github/workflows/build.yml

@ -56,11 +56,11 @@ jobs: @@ -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

8
.github/workflows/test.yml

@ -31,11 +31,11 @@ jobs: @@ -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

Loading…
Cancel
Save