mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
Use cached packages for PHP updates on GHR
This commit is contained in:
parent
60a4a89981
commit
c9a96cbdd1
@ -207,7 +207,7 @@ add_packaged_php() {
|
|||||||
# Function to update PHP.
|
# Function to update PHP.
|
||||||
update_php() {
|
update_php() {
|
||||||
initial_version=$(php_semver)
|
initial_version=$(php_semver)
|
||||||
use_package_cache="false" add_packaged_php
|
add_packaged_php
|
||||||
updated_version=$(php_semver)
|
updated_version=$(php_semver)
|
||||||
if [ "$updated_version" != "$initial_version" ]; then
|
if [ "$updated_version" != "$initial_version" ]; then
|
||||||
status="Updated to"
|
status="Updated to"
|
||||||
|
Loading…
Reference in New Issue
Block a user