Skip to content

A local-first personal finance app

[AI] DX: scope CI Lage cache key per job (#8311)

Matiss Janis Aboltinsdf45b50412ab
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
index b18ed28fc3..ed071d134a 100644
--- a/.github/actions/setup/action.yml
+++ b/.github/actions/setup/action.yml
@@ -57,9 +57,9 @@ runs:
if: ${{ inputs.cache == 'true' }}
with:
path: ${{ format('{0}/node_modules/.cache/lage', inputs.working-directory) }}
- key: lage-${{ runner.os }}-${{ github.sha }}
+ key: lage-${{ runner.os }}-${{ github.job }}-${{ github.sha }}
restore-keys: |
- lage-${{ runner.os }}-
+ lage-${{ runner.os }}-${{ github.job }}-
- name: Install
working-directory: ${{ inputs.working-directory }}
run: yarn --immutable
diff --git a/upcoming-release-notes/fix-ci-lage-cache-key.md b/upcoming-release-notes/fix-ci-lage-cache-key.md
new file mode 100644
index 0000000000..dc7980702a
--- /dev/null
+++ b/upcoming-release-notes/fix-ci-lage-cache-key.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [MatissJanis]
+---
+
+Scope the CI Lage cache key per job to fix the persistent cache miss