@@ -148,14 +148,12 @@ jobs:
148148 - name : Setup Caddy server
149149 uses : ./.github/actions/setup-caddy
150150 - name : ccache
151- uses : hendrikmuhs/ccache-action@v1.2
151+ uses : ./.github/actions/ccache
152152 with :
153153 # This duplicates the "job.name" expression above because
154154 # GitHub has no way to query the job name (github.job is the
155155 # job id, not the job name)
156- key : " LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}-${{hashFiles('main/php_version.h')}}"
157- append-timestamp : false
158- save : ${{ github.event_name != 'pull_request' }}
156+ name : " LINUX_X64${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
159157 - name : ./configure
160158 uses : ./.github/actions/configure-x64
161159 with :
@@ -257,11 +255,9 @@ jobs:
257255 - name : apt
258256 uses : ./.github/actions/apt-x32
259257 - name : ccache
260- uses : hendrikmuhs/ccache-action@v1.2
258+ uses : ./.github/actions/ccache
261259 with :
262- key : " ${{github.job}}-${{hashFiles('main/php_version.h')}}"
263- append-timestamp : false
264- save : ${{ github.event_name != 'pull_request' }}
260+ name : " LINUX_X32_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
265261 - name : System info
266262 run : |
267263 echo "::group::Show host CPU info"
@@ -322,11 +318,9 @@ jobs:
322318 timeout-minutes : 10
323319 uses : ./.github/actions/brew
324320 - name : ccache
325- uses : hendrikmuhs/ccache-action@v1.2
321+ uses : ./.github/actions/ccache
326322 with :
327- key : " ${{github.job}}-${{matrix.os}}-${{hashFiles('main/php_version.h')}}"
328- append-timestamp : false
329- save : ${{ github.event_name != 'pull_request' }}
323+ name : " MACOS_${{ matrix.arch }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
330324 - name : ./configure
331325 uses : ./.github/actions/configure-macos
332326 with :
@@ -869,11 +863,9 @@ jobs:
869863 bison \
870864 re2c
871865 - name : ccache
872- uses : hendrikmuhs/ccache-action@v1.2
866+ uses : ./.github/actions/ccache
873867 with :
874- key : " ${{github.job}}-${{hashFiles('php/main/php_version.h')}}"
875- append-timestamp : false
876- save : ${{ github.event_name != 'pull_request' }}
868+ name : " ${{ github.job }}"
877869 - name : build PHP
878870 run : |
879871 cd php
0 commit comments