Skip to content

Commit fecab02

Browse files
committed
windows: bake SDK version into cache key
1 parent ed8794f commit fecab02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Set PHP build cache key
4040
id: cache-key
4141
run: |
42-
echo "key=php-debug-${{ inputs.php }}-${{ inputs.vs-arch }}-${{ inputs.vs-crt }}-${{ inputs.runs-on }}" >> $env:GITHUB_OUTPUT
42+
echo "key=php-debug-${{ inputs.php }}-${{ inputs.vs-arch }}-${{ inputs.vs-crt }}-${{ inputs.runs-on }}-php-sdk-${{ env.PHP_SDK_BINARY_TOOLS_VER }}" >> $env:GITHUB_OUTPUT
4343
4444
- name: Set php-sdk task command
4545
id: php-sdk-command
@@ -173,7 +173,7 @@ jobs:
173173
bin
174174
php-sdk
175175
deps
176-
key: php-debug-${{ inputs.php }}-${{ inputs.vs-arch }}-${{ inputs.vs-crt }}-${{ inputs.runs-on }}
176+
key: php-debug-${{ inputs.php }}-${{ inputs.vs-arch }}-${{ inputs.vs-crt }}-${{ inputs.runs-on }}-php-sdk-${{ env.PHP_SDK_BINARY_TOOLS_VER }}
177177

178178
- name: Set php-sdk task command
179179
id: php-sdk-command

0 commit comments

Comments
 (0)