Skip to content

Commit

Permalink
Upgrade chocolatey
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Jan 20, 2021
1 parent 9a41eae commit 97bd5ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +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
# Upgrade to 0.10.16-beta to benefit from a bugfix for
# https://github.com/chocolatey/choco/issues/1843
- ps: choco upgrade chocolatey --pre
- ps: |
# Check if installation is cached
if (!(Test-Path c:\tools\php)) {
Expand Down

0 comments on commit 97bd5ee

Please sign in to comment.