Skip to content

Commit

Permalink
refactor(workflows): add 3- prefix to cache keys
Browse files Browse the repository at this point in the history
A hack to invalidate GitHub actions/cache in CI builds/tests.

Activates benefits of 90123ca.

Should be reverted after 2 weeks.

PR: zmkfirmware#442
  • Loading branch information
innovaker authored and petejohanson committed Dec 1, 2020
1 parent 924a598 commit fe010c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe010c7

Please sign in to comment.