From 8b0d37f0e5721b8fe4791d392b39dcb0c027307f Mon Sep 17 00:00:00 2001 From: kekefreedog <70959083+kekefreedog@users.noreply.github.com> Date: Sat, 24 Feb 2024 12:29:40 +0100 Subject: [PATCH] Add macport doc --- .github/workflows/publishing.yml | 2 +- .github/workflows/testing.yml | 4 ++-- docs/Misc/MacPort.md | 20 ++++++++++++++++++++ 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 docs/Misc/MacPort.md diff --git a/.github/workflows/publishing.yml b/.github/workflows/publishing.yml index 8b6a0ee..ce57cd0 100644 --- a/.github/workflows/publishing.yml +++ b/.github/workflows/publishing.yml @@ -16,7 +16,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' # Adjust as needed + php-version: 8.3 # Adjust as needed - name: Run custom script to update versions run: php ./.github/workflows/scripts/update-versions.php "${{ github.event.release.tag_name }}" diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 0b25411..f606e0e 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -8,10 +8,10 @@ jobs: - name: Install dependencies uses: php-actions/composer@v6 with: - php_version: 8.2 + php_version: 8.3 - name: PHPUnit Tests uses: php-actions/phpunit@master with: - php_version: 8.2 + php_version: 8.3 bootstrap: vendor/autoload.php configuration: phpunit.xml \ No newline at end of file diff --git a/docs/Misc/MacPort.md b/docs/Misc/MacPort.md new file mode 100644 index 0000000..77770a0 --- /dev/null +++ b/docs/Misc/MacPort.md @@ -0,0 +1,20 @@ +# MacPort + +## Upgrade PHP version + +1. Install new php version + ```sh + sudo port install php83 + ``` + +2. Check php version installed + ```sh + sudo port select --list php + ``` + +3. Select php version + ```sh + sudo port select --set php php83 + ``` + +And voilà 🎉 \ No newline at end of file