Skip to content

Commit a30962e

Browse files
committed
Fix condition for msvc toolset
1 parent 867a1bc commit a30962e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/actions/build-win/action.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,16 @@ runs:
5353
cache_dir: ${{ env.CACHE_DIR }}
5454

5555
- name: Configure Developer Command Prompt for MSVC compiler
56-
if: ${{ matrix.php }} != '7.4'
57-
uses: ilammy/msvc-dev-cmd@v1.9.0
56+
uses: ilammy/msvc-dev-cmd@v1.10.0
5857
with:
5958
arch: ${{ inputs.arch }}
6059

6160
# Workaround for
6261
# PHP Warning: PHP Startup: Can't load module 'C:\tools\php\ext\php_zephir_parser.dll'
6362
# as it's linked with 14.29, but the core is linked with 14.16 in Unknown on line 0
6463
- name: Configure Developer Command Prompt for MSVC compiler
65-
if: ${{ matrix.php }} == '7.4'
66-
uses: ilammy/msvc-dev-cmd@v1.9.0
64+
uses: ilammy/msvc-dev-cmd@v1.10.0
65+
if: matrix.php == '7.4'
6766
with:
6867
arch: ${{ inputs.arch }}
6968
toolset: 14.16

0 commit comments

Comments
 (0)