From 18d86ea2a3cb1375de5674f37d02833c6dbaad6f Mon Sep 17 00:00:00 2001 From: Frank Haverland Date: Sun, 27 Nov 2022 11:36:53 +0100 Subject: [PATCH] fix key of caches --- .github/workflows/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a35963cb..fa80b3a4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -251,7 +251,7 @@ jobs: ./code/.pio/build/esp32cam/partitions.bin ./code/.pio/build/esp32cam/bootloader.bin ./sd-card/html/version.txt - key: ${{ github.run_number }} + key: ${{ steps.vars.outputs.branch }} # import the changes from - name: Get generated files from cache @@ -259,7 +259,7 @@ jobs: with: path: | ./dist - key: ${{ github.run_number }}-pack-for-OTA-v2 + key: ${{ steps.vars.outputs.branch }}-pack-for-OTA-v2 # import cached artifacts from pack-for-fresh-install - name: Get generated files from cache @@ -267,7 +267,7 @@ jobs: with: path: | ./firmware - key: ${{ github.run_number }}-pack-for-fresh-install + key: ${{ steps.vars.outputs.branch }}-pack-for-fresh-install - name: Set Variables id: vars