mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
Set macos version in php workflow to macos-13
This commit is contained in:
parent
14d9660823
commit
436881d084
2
.github/workflows/php.yml
vendored
2
.github/workflows/php.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
operating-system: [ubuntu-22.04, ubuntu-20.04, windows-2019, macos-latest]
|
operating-system: [ubuntu-22.04, ubuntu-20.04, windows-2019, macos-13]
|
||||||
php-versions: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
|
php-versions: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
|
||||||
include:
|
include:
|
||||||
- operating-system: ubuntu-22.04
|
- operating-system: ubuntu-22.04
|
||||||
|
@ -168,6 +168,7 @@ add_php() {
|
|||||||
else
|
else
|
||||||
brew install -f "$php_formula"
|
brew install -f "$php_formula"
|
||||||
fi
|
fi
|
||||||
|
sudo chown -R "$(id -un)":"$(id -gn)" "$brew_prefix"
|
||||||
brew link --force --overwrite "$php_formula"
|
brew link --force --overwrite "$php_formula"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user