Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

ci: save the check-msrv sccache cache from the merge_group run (#14740)

Hrithikesh71d3a2eef3de
diff --git a/.github/workflows/CI-push.yml b/.github/workflows/CI-push.yml
index 7469935aca..e04f7fc39d 100644
--- a/.github/workflows/CI-push.yml
+++ b/.github/workflows/CI-push.yml
@@ -147,7 +147,7 @@ jobs:
# !cancelled(), not always() — cache-on-failure, but skip on cancel.
- name: Delete stale sccache cache entry
- if: ${{ !cancelled() && github.event_name == 'push' }}
+ if: ${{ !cancelled() && github.event_name == 'merge_group' }}
continue-on-error: true
shell: bash
env:
@@ -155,7 +155,7 @@ jobs:
run: gh cache delete "sccache-local-check-msrv-${{ runner.os }}-${{ runner.arch }}" --repo "${{ github.repository }}"
- name: Save sccache cache
- if: ${{ !cancelled() && github.event_name == 'push' }}
+ if: ${{ !cancelled() && github.event_name == 'merge_group' }}
uses: actions/cache/save@v6
with:
path: ${{ env.SCCACHE_DIR }}