From 27d036b9d5e40e05dc4809ad1ccb3255d414d267 Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Fri, 27 Nov 2020 15:24:16 +0000 Subject: [PATCH] refactor(workflows): remove `2-` prefix from cache keys Removes obsolete cache invalidation hack. Ref: 064323b667e33b3f68e56165e9add66b7482ed68 PR: #434 --- .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 f6a12bf4..fc003283 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f3e93515..d3521e9b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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