refactor(workflows): add `3-` prefix to cache keys

A hack to invalidate GitHub actions/cache in CI builds/tests.

Activates benefits of 90123caa4c.

Should be reverted after 2 weeks.

PR: #442
This commit is contained in:
innovaker 2020-11-28 17:48:18 +00:00 committed by Pete Johanson
parent 924a598920
commit fe010c7b6d
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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