Skip to content

Commit b8aa68b

Browse files
authored
CI: Do not save the ccache for PRs (#14168)
Resolves #14155
1 parent 7a9e0fb commit b8aa68b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
# job id, not the job name)
7373
key: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}-${{hashFiles('main/php_version.h')}}"
7474
append-timestamp: false
75+
save: ${{ github.event_name != 'pull_request' }}
7576
- name: ./configure
7677
uses: ./.github/actions/configure-x64
7778
with:
@@ -111,6 +112,7 @@ jobs:
111112
with:
112113
key: "${{github.job}}-${{hashFiles('main/php_version.h')}}"
113114
append-timestamp: false
115+
save: ${{ github.event_name != 'pull_request' }}
114116
- name: ./configure
115117
uses: ./.github/actions/configure-macos
116118
with:

0 commit comments

Comments
 (0)