The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Upgrade `actions/cache` to v5 (#74715)
Nemanja Glumacd03c2eb418cc
diff --git a/.github/actions/prepare-backend/action.yml b/.github/actions/prepare-backend/action.ymlindex 3f5955296f3..a10775403ce 100644--- a/.github/actions/prepare-backend/action.yml+++ b/.github/actions/prepare-backend/action.yml@@ -44,7 +44,7 @@ runs:github-token: ${{ github.token }}- name: Restore M2 cache- uses: actions/cache/restore@v4+ uses: actions/cache/restore@v5with:path: |~/.m2diff --git a/.github/actions/prepare-cypress/action.yml b/.github/actions/prepare-cypress/action.ymlindex 58ad7f83bae..3509626062a 100644--- a/.github/actions/prepare-cypress/action.yml+++ b/.github/actions/prepare-cypress/action.yml@@ -26,7 +26,7 @@ runs:id: get-cache-keys- name: Get Cypress cache- uses: actions/cache/restore@v4+ uses: actions/cache/restore@v5with:path: ~/.cache/Cypresskey: ${{ steps.get-cache-keys.outputs.cypress-cache-key }}diff --git a/.github/actions/prepare-frontend/action.yml b/.github/actions/prepare-frontend/action.ymlindex 1d74cfe70d7..a2d8062e6ef 100644--- a/.github/actions/prepare-frontend/action.yml+++ b/.github/actions/prepare-frontend/action.yml@@ -21,7 +21,7 @@ runs:id: get-cache-keys- name: Restore M2 cache- uses: actions/cache/restore@v4+ uses: actions/cache/restore@v5with:path: |~/.m2@@ -39,7 +39,7 @@ runs:shell: bash- name: Restore node_modules cache- uses: actions/cache/restore@v4+ uses: actions/cache/restore@v5id: node-modules-cachewith:path: |diff --git a/.github/actions/update-cache/action.yml b/.github/actions/update-cache/action.ymlindex de2e3e48d7a..465a69bc069 100644--- a/.github/actions/update-cache/action.yml+++ b/.github/actions/update-cache/action.yml@@ -17,7 +17,7 @@ runs:steps:- name: Check if the cache entry existsid: cache-lookup- uses: actions/cache/restore@v4+ uses: actions/cache/restore@v5with:path: ${{ inputs.path }}key: ${{ inputs.key }}@@ -35,7 +35,7 @@ runs:GH_TOKEN: ${{ github.token }}shell: bash- name: Save the new cache entry- uses: actions/cache/save@v4+ uses: actions/cache/save@v5with:path: ${{ inputs.path }}key: ${{ inputs.key }}diff --git a/.github/workflows/cache-generator.yml b/.github/workflows/cache-generator.ymlindex b82fb242bd4..e4416d2b4cd 100644--- a/.github/workflows/cache-generator.yml+++ b/.github/workflows/cache-generator.yml@@ -2,7 +2,7 @@# It sets the fresh cache each Monday but provides a manual trigger to update it on-demand.## All other jobs only restore from this cache; *they never update it*!-# They should always use `actions/cache/restore@v4` because `actions/cache@v4` would attempt to save the cache.+# They should always use `actions/cache/restore@vX` because `actions/cache@vX` would attempt to save the cache.## Our agreed-upon strategy is to use a deterministic cache key based on the week of the year.# Jobs can utilize the prior week's cache if the current week's cache is not found.diff --git a/.github/workflows/docs-links.yml b/.github/workflows/docs-links.ymlindex 9cda0c550e2..e9287fa5f38 100644--- a/.github/workflows/docs-links.yml+++ b/.github/workflows/docs-links.yml@@ -20,7 +20,7 @@ jobs:.lychee- name: Cache lychee- uses: actions/cache@v3+ uses: actions/cache@v5with:path: ~/.cache/lycheekey: lychee-${{ runner.os }}-${{ hashFiles('.lychee/config.toml') }}diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.ymlindex 96db0dc3d43..f3edbe7f8ad 100644--- a/.github/workflows/frontend.yml+++ b/.github/workflows/frontend.yml@@ -47,7 +47,7 @@ jobs:uses: ./.github/actions/get-cache-keysid: get-cache-keys- name: Restore ESLint cache- uses: actions/cache/restore@v4+ uses: actions/cache/restore@v5with:path: ${{ github.workspace}}/.eslintcachekey: ${{ steps.get-cache-keys.outputs.eslint-cache-key }}