From a4652fa25da83ae036613157fb566eb1ce1426fe Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Wed, 2 Dec 2020 18:26:47 +0000 Subject: [PATCH] ci: add `4-` prefix to cache keys for v2.4.0 upgrade A hack to invalidate GitHub actions/cache in CI builds/tests for the v2.4.0 upgrade. PR: #467 --- .github/workflows/build.yml | 8 ++++---- .github/workflows/test.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba3b8742..0148b9ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,11 +76,11 @@ jobs: tools/ zephyr/ bootloader/ - key: 3-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }} + key: 4-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }} restore-keys: | - 3-${{ runner.os }}-build-${{ env.cache-name }}- - 3-${{ runner.os }}-build- - 3-${{ runner.os }}- + 4-${{ runner.os }}-build-${{ env.cache-name }}- + 4-${{ runner.os }}-build- + 4-${{ 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 9e594d3c..a9cba242 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,11 +32,11 @@ jobs: tools/ zephyr/ bootloader/ - key: 3-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }} + key: 4-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }} restore-keys: | - 3-${{ runner.os }}-build-${{ env.cache-name }}- - 3-${{ runner.os }}-build- - 3-${{ runner.os }}- + 4-${{ runner.os }}-build-${{ env.cache-name }}- + 4-${{ runner.os }}-build- + 4-${{ runner.os }}- timeout-minutes: 2 continue-on-error: true - name: West init