Skip to content

Commit

Permalink
Troubleshoot Appveyor build
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Jan 20, 2021
1 parent e33f658 commit 9a41eae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ init:

## Install PHP and composer, and run the appropriate composer command
install:
- ps: choco search php --exact --all-versions -r
- ps: choco search php --exact --all-versions -r | select-string -pattern $env:php
- ps: choco search php --exact --all-versions -r | select-string -pattern $env:php | sort { [version]($_ -split '\|' | select -last 1) } -Descending
- ps: |
# Check if installation is cached
if (!(Test-Path c:\tools\php)) {
Expand Down

0 comments on commit 9a41eae

Please sign in to comment.