From 8865f87f1b23c5b7b8ef8c22ab5db4aae9b6291f Mon Sep 17 00:00:00 2001 From: derrod Date: Sat, 17 Sep 2022 11:27:52 +0200 Subject: [PATCH] CI: Fix service check workflow using outdated cache --- .github/workflows/services-json.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/services-json.yml b/.github/workflows/services-json.yml index 106f43b0e..c010ba741 100644 --- a/.github/workflows/services-json.yml +++ b/.github/workflows/services-json.yml @@ -58,7 +58,10 @@ jobs: uses: actions/cache@v3 with: path: ${{ github.workspace }}/other - key: service-check + # Workaround to create a new cache every time, since a cache key is immutable: + # https://github.com/actions/cache/blob/main/workarounds.md#update-a-cache + key: service-check-${{ github.run_id }} + restore-keys: service-check - name: Install & Configure Python run: |