Skip to content

Commit c6f7d8d

Browse files
cmb69m6w6
authored andcommitted
Cater to yet missing libmemcached-vs17
Using libmemcached-vs16 instead should be fine.
1 parent 8877b9a commit c6f7d8d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-windows.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
deps: zlib
2929
cache: true
3030
- name: Fetch libmemcached
31-
run: curl -OLs https://downloads.php.net/~windows/pecl/deps/libmemcached-1.1.1-${{steps.setup-php.outputs.vs}}-${{matrix.arch}}.zip && 7z x libmemcached-1.1.1-${{steps.setup-php.outputs.vs}}-${{matrix.arch}}.zip -o..\deps
31+
run: |
32+
set MEMCACHED_FILENAME=libmemcached-1.1.1-${{steps.setup-php.outputs.vs == 'vs17' && 'vs16' || steps.setup-php.outputs.vs}}-${{matrix.arch}}.zip
33+
curl -OLs https://downloads.php.net/~windows/pecl/deps/%MEMCACHED_FILENAME% && 7z x %MEMCACHED_FILENAME% -o..\deps
3234
- name: Enable Developer Command Prompt
3335
uses: ilammy/msvc-dev-cmd@v1
3436
with:

0 commit comments

Comments
 (0)