diff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yaml index 087eb168ec2..a3ee43fe6fd 100644 --- a/.github/workflows/ci-front.yaml +++ b/.github/workflows/ci-front.yaml @@ -17,8 +17,9 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} env: + # restore-cache action adds 'v4-' prefix and '--' suffix to the key STORYBOOK_BUILD_CACHE_KEY_FOR_RESTORE_ACTION: storybook-build-depot-ubuntu-24.04-8-runner - STORYBOOK_BUILD_CACHE_KEY_FOR_SAVE_ACTION: v3-storybook-build-depot-ubuntu-24.04-8-runner-${{ github.ref_name }}-${{ github.sha }} + STORYBOOK_BUILD_CACHE_KEY_FOR_SAVE_ACTION: v4-storybook-build-depot-ubuntu-24.04-8-runner-${{ github.ref_name }}-${{ github.sha }} jobs: changed-files-check: @@ -147,7 +148,7 @@ jobs: - name: Restore storybook build cache uses: ./.github/actions/restore-cache with: - key: ${{ env.STORYBOOK_BUILD_CACHE_KEY }} + key: ${{ env.STORYBOOK_BUILD_CACHE_KEY_FOR_RESTORE_ACTION }} - name: Front / Write .env run: | cd packages/twenty-front