Skip to content

Commit 436881d

Browse files
committed
Set macos version in php workflow to macos-13
1 parent 14d9660 commit 436881d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/php.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
operating-system: [ubuntu-22.04, ubuntu-20.04, windows-2019, macos-latest]
31+
operating-system: [ubuntu-22.04, ubuntu-20.04, windows-2019, macos-13]
3232
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']
3333
include:
3434
- operating-system: ubuntu-22.04

src/scripts/darwin.sh

+1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ add_php() {
168168
else
169169
brew install -f "$php_formula"
170170
fi
171+
sudo chown -R "$(id -un)":"$(id -gn)" "$brew_prefix"
171172
brew link --force --overwrite "$php_formula"
172173
}
173174

0 commit comments

Comments
 (0)