Skip to content

Commit

Permalink
Cater to yet missing libmemcached-vs17
Browse files Browse the repository at this point in the history
Using libmemcached-vs16 instead should be fine.
  • Loading branch information
cmb69 authored and m6w6 committed Oct 15, 2024
1 parent 8877b9a commit c6f7d8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
deps: zlib
cache: true
- name: Fetch libmemcached
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
run: |
set MEMCACHED_FILENAME=libmemcached-1.1.1-${{steps.setup-php.outputs.vs == 'vs17' && 'vs16' || steps.setup-php.outputs.vs}}-${{matrix.arch}}.zip
curl -OLs https://downloads.php.net/~windows/pecl/deps/%MEMCACHED_FILENAME% && 7z x %MEMCACHED_FILENAME% -o..\deps
- name: Enable Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1
with:
Expand Down

0 comments on commit c6f7d8d

Please sign in to comment.