From 1426eedfc1083f60f932285e12a57da03118fb23 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 2 Apr 2026 08:23:41 +0100 Subject: [PATCH] Fix cache list command in CI workflow --- .github/workflows/ci_build_major_branch_keymap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_build_major_branch_keymap.yml b/.github/workflows/ci_build_major_branch_keymap.yml index c683e5a94d..e9dda3b930 100644 --- a/.github/workflows/ci_build_major_branch_keymap.yml +++ b/.github/workflows/ci_build_major_branch_keymap.yml @@ -130,7 +130,7 @@ jobs: GH_TOKEN: ${{ github.token }} if: steps.cache.outputs.cache-hit run: | - count=$(gh cache list --ref ${{ github.ref }} ${{ steps.cache.outputs.cache-primary-key }} --json id | jq length) + count=$(gh cache list --ref ${{ github.ref }} --key ${{ steps.cache.outputs.cache-primary-key }} --json id | jq length) if [ $count -gt 0 ]; then gh cache delete --ref ${{ github.ref }} ${{ steps.cache.outputs.cache-primary-key }} fi