From fe010c7b6d791b1589a42124534b2b99c03b882c Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Sat, 28 Nov 2020 17:48:18 +0000 Subject: [PATCH] refactor(workflows): add `3-` prefix to cache keys A hack to invalidate GitHub actions/cache in CI builds/tests. Activates benefits of 90123caa4ca413f9c9e96d37e9b627ebf0407b66. Should be reverted after 2 weeks. PR: #442 --- .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 37abeda0..433e2795 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ada22eda..c283e49e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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