From 436881d08472ec5487c7c758fcfcbb429cc1bc1d Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Wed, 24 Apr 2024 03:38:15 +0530 Subject: [PATCH] Set macos version in php workflow to macos-13 --- .github/workflows/php.yml | 2 +- src/scripts/darwin.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 91119dd20..1d097afc6 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -28,7 +28,7 @@ jobs: strategy: fail-fast: false 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'] include: - operating-system: ubuntu-22.04 diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index 0979f526d..b22b6f09e 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -168,6 +168,7 @@ add_php() { else brew install -f "$php_formula" fi + sudo chown -R "$(id -un)":"$(id -gn)" "$brew_prefix" brew link --force --overwrite "$php_formula" }