Skip to content

Commit dfd071b

Browse files
committed
...
1 parent 3aa7256 commit dfd071b

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

.github/workflows/main-php-matrix-windows.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ jobs:
3131

3232
concurrency: php-debug-${{ inputs.php }}-${{ inputs.runs-on }}-${{ github.ref }}
3333

34-
outputs:
35-
cache-hit: ${{ steps.php-build-cache.outputs.cache-hit }}
36-
key: ${{ steps.cache-key.outputs.key }}
37-
3834
steps:
3935
- name: Set PHP build cache key
4036
id: cache-key
@@ -165,7 +161,7 @@ jobs:
165161
bin
166162
php-sdk
167163
deps
168-
key: ${{ needs.build-php.outputs.key }}
164+
key: php-debug-${{ inputs.php }}-${{ inputs.vs-arch }}-${{ inputs.vs-crt }}-${{ inputs.runs-on }}
169165

170166
- name: Compile extension
171167
run: |

.github/workflows/main-php-matrix.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ jobs:
2222

2323
runs-on: ${{ inputs.runs-on }}
2424

25-
outputs:
26-
cache-hit: ${{ steps.cache.outputs.cache-hit }}
27-
key: ${{ steps.cache-key.outputs.key }}
28-
2925
steps:
3026
- name: Set PHP build cache key
3127
id: cache-key
@@ -105,8 +101,8 @@ jobs:
105101
- name: Fetch PHP build cache
106102
uses: actions/cache/restore@v4 #fails if cache is missing
107103
with:
108-
path: ${{ github.workspace }}/php
109-
key: ${{ needs.build-php.outputs.key }}
104+
path: ${{ github.workspace }}/php
105+
key: php-debug-${{ inputs.php }}-valgrind-${{ matrix.valgrind-tool != 'none' && 1 || 0 }}-${{ inputs.runs-on }}
110106

111107
- name: Install Valgrind
112108
if: matrix.valgrind-tool != 'none'

0 commit comments

Comments
 (0)