The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
[CI] Always save cache agnostically of the actions/restore cache-hit output (#9635)
Paul Rastoin9ba510eb3fca
diff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yamlindex da9fa86b1ba..234e41ff141 100644--- a/.github/workflows/ci-front.yaml+++ b/.github/workflows/ci-front.yaml@@ -61,7 +61,7 @@ jobs:if: steps.changed-files.outputs.any_changed == 'true'run: npx nx storybook:build twenty-front- name: Save storybook build cache- if: steps.changed-files.outputs.any_changed == 'true' && steps.restore-storybook-build-cache.outputs.cache-hit != 'true'+ if: steps.changed-files.outputs.any_changed == 'true'uses: ./.github/workflows/actions/save-cachewith:key: ${{ steps.restore-storybook-build-cache.outputs.cache-primary-key }}@@ -252,7 +252,7 @@ jobs:tag: scope:frontendtasks: ${{ matrix.task }}- name: Save ${{ matrix.task }} cache- if: steps.changed-files.outputs.any_changed == 'true' && steps.restore-task-cache.outputs.cache-hit != 'true'+ if: steps.changed-files.outputs.any_changed == 'true'uses: ./.github/workflows/actions/save-cachewith:key: ${{ steps.restore-task-cache.outputs.cache-primary-key }}diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yamlindex 9e308adc037..58d3c928848 100644--- a/.github/workflows/ci-server.yaml+++ b/.github/workflows/ci-server.yaml@@ -108,7 +108,7 @@ jobs:exit 1fi- name: Save server setup- if: steps.changed-files.outputs.any_changed == 'true' && steps.restore-server-setup-cache.outputs.cache-hit != 'true'+ if: steps.changed-files.outputs.any_changed == 'true'uses: ./.github/workflows/actions/save-cachewith:key: ${{ steps.restore-server-setup-cache.outputs.cache-primary-key }}