Skip to content

Commit 402f3a9

Browse files
committed
CI: Do not save the ccache for PRs (8.3+)
see GH-14168
1 parent 1bf42b4 commit 402f3a9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,7 @@ jobs:
801801
with:
802802
key: "${{github.job}}-${{hashFiles('php/main/php_version.h')}}"
803803
append-timestamp: false
804+
save: ${{ github.event_name != 'pull_request' }}
804805
- name: build PHP
805806
run: |
806807
cd php

.github/workflows/push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ jobs:
225225
with:
226226
key: "${{github.job}}-${{hashFiles('main/php_version.h')}}"
227227
append-timestamp: false
228+
save: ${{ github.event_name != 'pull_request' }}
228229
- name: ./configure
229230
run: |
230231
set -x

0 commit comments

Comments
 (0)